Skip to content

Commit

Permalink
refactor: remove statements helpful in development
Browse files Browse the repository at this point in the history
  • Loading branch information
hamirmahal committed Oct 18, 2024
1 parent 3026d33 commit adb2959
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions browser/ui/browser_commands.cc
Original file line number Diff line number Diff line change
Expand Up @@ -912,15 +912,9 @@ class BookmarksExportListener : public ui::SelectFileDialog::Listener {
explicit BookmarksExportListener(Profile* profile) : profile_(profile) {}
void FileSelected(const ui::SelectedFileInfo& file, int index) override {
bookmark_html_writer::WriteBookmarks(profile_, file.file_path, nullptr);
std::cout << "Bookmarks exported to " << file.file_path.value()
<< std::endl;

delete this;
}
void FileSelectionCanceled() override {
std::cout << "File selection for bookmarks export canceled" << std::endl;
delete this;
}
void FileSelectionCanceled() override { delete this; }

private:
raw_ptr<Profile> profile_;
Expand Down

0 comments on commit adb2959

Please sign in to comment.