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

Unified Diff: chrome/browser/importer/importer_type.cc

Issue 18120005: Remove Google Toolbar importer (aka google.com/bookmarks importer). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -explicit Created 7 years, 6 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/importer_type.h ('k') | chrome/browser/importer/toolbar_importer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer_type.cc
diff --git a/chrome/browser/importer/importer_type.cc b/chrome/browser/importer/importer_type.cc
index 59e5123ab33b54bb08392245b8a026a802a145b6..be1254326d669b04496036c7cceabfbe0a6d5413 100644
--- a/chrome/browser/importer/importer_type.cc
+++ b/chrome/browser/importer/importer_type.cc
@@ -8,7 +8,6 @@
#include "base/metrics/histogram.h"
#include "chrome/browser/importer/bookmarks_file_importer.h"
#include "chrome/browser/importer/firefox3_importer.h"
-#include "chrome/browser/importer/toolbar_importer.h"
#if defined(OS_WIN)
#include "chrome/browser/importer/ie_importer.h"
@@ -35,7 +34,7 @@ enum ImporterTypeMetrics {
#if defined(OS_MACOSX)
IMPORTER_METRICS_SAFARI = 4,
#endif
- IMPORTER_METRICS_GOOGLE_TOOLBAR5 = 5,
+ IMPORTER_METRICS_GOOGLE_TOOLBAR5 = 5, // obsolete
IMPORTER_METRICS_BOOKMARKS_FILE = 6,
// Insert new values here. Never remove any existing values, as this enum is
@@ -60,8 +59,6 @@ Importer* CreateImporterByType(ImporterType type) {
case TYPE_SAFARI:
return new SafariImporter(base::mac::GetUserLibraryPath());
#endif
- case TYPE_GOOGLE_TOOLBAR5:
- return new Toolbar5Importer();
default:
NOTREACHED();
return NULL;
@@ -90,9 +87,6 @@ void LogImporterUseToMetrics(const std::string& metric_postfix,
metrics_type = IMPORTER_METRICS_SAFARI;
break;
#endif
- case TYPE_GOOGLE_TOOLBAR5:
- metrics_type = IMPORTER_METRICS_GOOGLE_TOOLBAR5;
- break;
case TYPE_BOOKMARKS_FILE:
metrics_type = IMPORTER_METRICS_BOOKMARKS_FILE;
break;
« no previous file with comments | « chrome/browser/importer/importer_type.h ('k') | chrome/browser/importer/toolbar_importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698