Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: chrome/browser/importer/importer.h

Issue 6979007: Many fixes to bookmark importing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Happy tests =) Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/importer/ie_importer.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer.h
diff --git a/chrome/browser/importer/importer.h b/chrome/browser/importer/importer.h
index 9b8610924572d1dbef4fcdd09fca038a26f39a19..b4a5b6e2d32a476e00ef1a401374a5d553ba1982 100644
--- a/chrome/browser/importer/importer.h
+++ b/chrome/browser/importer/importer.h
@@ -31,15 +31,6 @@ class Importer : public base::RefCountedThreadSafe<Importer> {
// Cancels the import process.
virtual void Cancel();
- void set_import_to_bookmark_bar(bool import_to_bookmark_bar) {
- import_to_bookmark_bar_ = import_to_bookmark_bar;
- }
-
- void set_bookmark_bar_disabled(bool bookmark_bar_disabled) {
- bookmark_bar_disabled_ = bookmark_bar_disabled;
- }
-
- bool bookmark_bar_disabled() { return bookmark_bar_disabled_; }
bool cancelled() const { return cancelled_; }
protected:
@@ -55,19 +46,9 @@ class Importer : public base::RefCountedThreadSafe<Importer> {
size_t src_len,
std::vector<unsigned char>* png_data);
- bool import_to_bookmark_bar() const { return import_to_bookmark_bar_; }
-
scoped_refptr<ImporterBridge> bridge_;
private:
- // True if the importer is created in the first run UI.
- bool import_to_bookmark_bar_;
-
- // Whether bookmark bar is disabled (not shown) for importer. This is set
- // true during first run to prevent out of process bookmark importer from
- // updating bookmark bar settings.
- bool bookmark_bar_disabled_;
-
// True if the caller cancels the import process.
bool cancelled_;
« no previous file with comments | « chrome/browser/importer/ie_importer.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698