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

Unified Diff: chrome/utility/importer/safari_importer.h

Issue 18501013: Move most importer code to chrome/utility/importer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another gyp attempt Created 7 years, 5 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/utility/importer/nss_decryptor_win.cc ('k') | chrome/utility/importer/safari_importer.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/importer/safari_importer.h
diff --git a/chrome/browser/importer/safari_importer.h b/chrome/utility/importer/safari_importer.h
similarity index 82%
rename from chrome/browser/importer/safari_importer.h
rename to chrome/utility/importer/safari_importer.h
index fd83083a2040b00d2fa03675d88e14480227643f..8b346d27859296a7a6642a5a4f79aeecdf72b27f 100644
--- a/chrome/browser/importer/safari_importer.h
+++ b/chrome/utility/importer/safari_importer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_IMPORTER_SAFARI_IMPORTER_H_
-#define CHROME_BROWSER_IMPORTER_SAFARI_IMPORTER_H_
+#ifndef CHROME_UTILITY_IMPORTER_SAFARI_IMPORTER_H_
+#define CHROME_UTILITY_IMPORTER_SAFARI_IMPORTER_H_
#include <map>
#include <set>
@@ -13,9 +13,8 @@
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
-#include "chrome/browser/history/history_types.h"
-#include "chrome/browser/importer/importer.h"
#include "chrome/common/importer/importer_url_row.h"
+#include "chrome/utility/importer/importer.h"
#if __OBJC__
@class NSDictionary;
@@ -29,10 +28,6 @@ class GURL;
struct ImportedBookmarkEntry;
struct ImportedFaviconUsage;
-namespace history {
-class URLRow;
-}
-
namespace sql {
class Connection;
}
@@ -49,13 +44,13 @@ class SafariImporter : public Importer {
uint16 items,
ImporterBridge* bridge) OVERRIDE;
- // Does this user account have a Safari Profile and if so, what items
- // are supported?
- // in: library_dir - ~/Library or a standin for testing purposes.
- // out: services_supported - the service supported for import.
- // Returns true if we can import the Safari profile.
- static bool CanImport(const base::FilePath& library_dir,
- uint16* services_supported);
+ // Does this user account have a Safari Profile and if so, what items
+ // are supported?
+ // in: library_dir - ~/Library or a standin for testing purposes.
+ // out: services_supported - the service supported for import.
+ // Returns true if we can import the Safari profile.
+ static bool CanImport(const base::FilePath& library_dir,
+ uint16* services_supported);
private:
FRIEND_TEST_ALL_PREFIXES(SafariImporterTest, BookmarkImport);
@@ -112,4 +107,4 @@ class SafariImporter : public Importer {
DISALLOW_COPY_AND_ASSIGN(SafariImporter);
};
-#endif // CHROME_BROWSER_IMPORTER_SAFARI_IMPORTER_H_
+#endif // CHROME_UTILITY_IMPORTER_SAFARI_IMPORTER_H_
« no previous file with comments | « chrome/utility/importer/nss_decryptor_win.cc ('k') | chrome/utility/importer/safari_importer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698