| 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_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ | 5 #ifndef CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ |
| 6 #define CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ | 6 #define CHROME_COMMON_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" | |
| 12 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 13 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 14 | 13 |
| 15 class GURL; | 14 class GURL; |
| 16 class TemplateURL; | 15 class TemplateURL; |
| 17 | 16 |
| 18 namespace base { | 17 namespace base { |
| 19 class DictionaryValue; | 18 class DictionaryValue; |
| 20 class FilePath; | 19 class FilePath; |
| 21 } | 20 } |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 std::string GetPrefsJsValue(const std::string& prefs, | 84 std::string GetPrefsJsValue(const std::string& prefs, |
| 86 const std::string& pref_key); | 85 const std::string& pref_key); |
| 87 | 86 |
| 88 // Returns the localized Firefox branding name. | 87 // Returns the localized Firefox branding name. |
| 89 // This is useful to differentiate between Firefox and Iceweasel. | 88 // This is useful to differentiate between Firefox and Iceweasel. |
| 90 // If anything goes wrong while trying to obtain the branding name, | 89 // If anything goes wrong while trying to obtain the branding name, |
| 91 // the function assumes it's Firefox. | 90 // the function assumes it's Firefox. |
| 92 base::string16 GetFirefoxImporterName(const base::FilePath& app_path); | 91 base::string16 GetFirefoxImporterName(const base::FilePath& app_path); |
| 93 | 92 |
| 94 #endif // CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ | 93 #endif // CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ |
| OLD | NEW |