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

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

Issue 105473003: Add explicit base namespace to string16 users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Parses the value of a particular firefox preference from a string that is the 83 // Parses the value of a particular firefox preference from a string that is the
84 // contents of the prefs file. 84 // contents of the prefs file.
85 std::string GetPrefsJsValue(const std::string& prefs, 85 std::string GetPrefsJsValue(const std::string& prefs,
86 const std::string& pref_key); 86 const std::string& pref_key);
87 87
88 // Returns the localized Firefox branding name. 88 // Returns the localized Firefox branding name.
89 // This is useful to differentiate between Firefox and Iceweasel. 89 // This is useful to differentiate between Firefox and Iceweasel.
90 // If anything goes wrong while trying to obtain the branding name, 90 // If anything goes wrong while trying to obtain the branding name,
91 // the function assumes it's Firefox. 91 // the function assumes it's Firefox.
92 string16 GetFirefoxImporterName(const base::FilePath& app_path); 92 base::string16 GetFirefoxImporterName(const base::FilePath& app_path);
93 93
94 #endif // CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_ 94 #endif // CHROME_COMMON_IMPORTER_FIREFOX_IMPORTER_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/webview_handler.cc ('k') | chrome/common/importer/firefox_importer_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698