OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ |
6 #define CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ | 6 #define CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 | 14 |
15 class GURL; | 15 class GURL; |
16 class TemplateURL; | 16 class TemplateURL; |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class DictionaryValue; | 19 class DictionaryValue; |
20 class FilePath; | 20 class FilePath; |
21 } | 21 } |
22 | 22 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 std::string GetPrefsJsValue(const std::string& prefs, | 97 std::string GetPrefsJsValue(const std::string& prefs, |
98 const std::string& pref_key); | 98 const std::string& pref_key); |
99 | 99 |
100 // Returns the localized Firefox branding name. | 100 // Returns the localized Firefox branding name. |
101 // This is useful to differentiate between Firefox and Iceweasel. | 101 // This is useful to differentiate between Firefox and Iceweasel. |
102 // If anything goes wrong while trying to obtain the branding name, | 102 // If anything goes wrong while trying to obtain the branding name, |
103 // the function assumes it's Firefox. | 103 // the function assumes it's Firefox. |
104 string16 GetFirefoxImporterName(const base::FilePath& app_path); | 104 string16 GetFirefoxImporterName(const base::FilePath& app_path); |
105 | 105 |
106 #endif // CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ | 106 #endif // CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ |
OLD | NEW |