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

Side by Side Diff: chrome/common/importer/firefox_importer_utils.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 unified diff | Download patch
OLDNEW
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/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 13
14 class GURL; 14 class GURL;
15 class TemplateURL;
16 15
17 namespace base { 16 namespace base {
18 class DictionaryValue; 17 class DictionaryValue;
19 class FilePath; 18 class FilePath;
20 } 19 }
21 20
22 #if defined(OS_WIN) 21 #if defined(OS_WIN)
23 // Detects which version of Firefox is installed from registry. Returns its 22 // Detects which version of Firefox is installed from registry. Returns its
24 // major version, and drops the minor version. Returns 0 if failed. If there are 23 // major version, and drops the minor version. Returns 0 if failed. If there are
25 // indicators of both Firefox 2 and Firefox 3 it is biased to return the biggest 24 // indicators of both Firefox 2 and Firefox 3 it is biased to return the biggest
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 std::string GetPrefsJsValue(const std::string& prefs, 83 std::string GetPrefsJsValue(const std::string& prefs,
85 const std::string& pref_key); 84 const std::string& pref_key);
86 85
87 // Returns the localized Firefox branding name. 86 // Returns the localized Firefox branding name.
88 // This is useful to differentiate between Firefox and Iceweasel. 87 // This is useful to differentiate between Firefox and Iceweasel.
89 // If anything goes wrong while trying to obtain the branding name, 88 // If anything goes wrong while trying to obtain the branding name,
90 // the function assumes it's Firefox. 89 // the function assumes it's Firefox.
91 base::string16 GetFirefoxImporterName(const base::FilePath& app_path); 90 base::string16 GetFirefoxImporterName(const base::FilePath& app_path);
92 91
93 #endif // CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ 92 #endif // CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/manifest_handlers/settings_overrides_handler.h ('k') | chrome/common/importer/importer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698