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

Unified Diff: chrome/common/importer/firefox_importer_utils.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/chrome_tests_unit.gypi ('k') | chrome/common/importer/firefox_importer_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/importer/firefox_importer_utils.h
diff --git a/chrome/browser/importer/firefox_importer_utils.h b/chrome/common/importer/firefox_importer_utils.h
similarity index 93%
rename from chrome/browser/importer/firefox_importer_utils.h
rename to chrome/common/importer/firefox_importer_utils.h
index 5446ddf9ae5b2926ce014c4c36fb3830e29a1c65..757270eb67c4440a7735bc4e561c005894c203cd 100644
--- a/chrome/browser/importer/firefox_importer_utils.h
+++ b/chrome/common/importer/firefox_importer_utils.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_FIREFOX_IMPORTER_UTILS_H_
-#define CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UTILS_H_
+#ifndef CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_
+#define CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_
#include <string>
#include <vector>
@@ -85,7 +85,8 @@ bool IsDefaultHomepage(const GURL& homepage, const base::FilePath& app_path);
// |prefs| is not filled).
// Note: for strings, only valid UTF-8 string values are supported. If a
// key/pair is not valid UTF-8, it is ignored and will not appear in |prefs|.
-bool ParsePrefFile(const base::FilePath& pref_file, base::DictionaryValue* prefs);
+bool ParsePrefFile(const base::FilePath& pref_file,
+ base::DictionaryValue* prefs);
// Parses the value of a particular firefox preference from a string that is the
// contents of the prefs file.
@@ -98,4 +99,4 @@ std::string GetPrefsJsValue(const std::string& prefs,
// the function assumes it's Firefox.
string16 GetFirefoxImporterName(const base::FilePath& app_path);
-#endif // CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UTILS_H_
+#endif // CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/importer/firefox_importer_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698