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

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

Issue 14575004: Extract BookmarksFileImporter from Firefox2Importer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix again Created 7 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
Index: chrome/browser/importer/bookmarks_file_importer.h
diff --git a/chrome/browser/importer/bookmarks_file_importer.h b/chrome/browser/importer/bookmarks_file_importer.h
new file mode 100644
index 0000000000000000000000000000000000000000..071e558c6f1ad42e68daa8bb8db1941ee64f54ad
--- /dev/null
+++ b/chrome/browser/importer/bookmarks_file_importer.h
@@ -0,0 +1,31 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_IMPORTER_BOOKMARKS_FILE_IMPORTER_H_
+#define CHROME_BROWSER_IMPORTER_BOOKMARKS_FILE_IMPORTER_H_
+
+#include "chrome/browser/importer/importer.h"
+
+class ImporterBridge;
tfarina 2013/05/10 19:58:30 no need of this forwarding too.
+
+namespace importer {
+struct SourceProfile;
tfarina 2013/05/10 19:58:30 you don't need this forward because it's part of i
+}
+
+// Importer for bookmarks files.
+class BookmarksFileImporter : public Importer {
+ public:
+ BookmarksFileImporter();
+
+ virtual void StartImport(const importer::SourceProfile& source_profile,
+ uint16 items,
+ ImporterBridge* bridge) OVERRIDE;
tfarina 2013/05/10 19:58:30 I'd include compiler_specific.h and basictypes.h j
+
+ private:
+ virtual ~BookmarksFileImporter();
+
+ DISALLOW_COPY_AND_ASSIGN(BookmarksFileImporter);
+};
+
+#endif // CHROME_BROWSER_IMPORTER_BOOKMARKS_FILE_IMPORTER_H_

Powered by Google App Engine
This is Rietveld 408576698