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

Side by Side Diff: chrome/browser/browser_process.h

Issue 126223: Replace std:;wstring with std::string in locale-name related APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This interfaces is for managing the global services of the application. Each 5 // This interfaces is for managing the global services of the application. Each
6 // service is lazily created when requested the first time. The service getters 6 // service is lazily created when requested the first time. The service getters
7 // will return NULL if the service is not available, so callers must check for 7 // will return NULL if the service is not available, so callers must check for
8 // this condition. 8 // this condition.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 virtual bool IsShuttingDown() = 0; 123 virtual bool IsShuttingDown() = 0;
124 124
125 virtual views::AcceleratorHandler* accelerator_handler() = 0; 125 virtual views::AcceleratorHandler* accelerator_handler() = 0;
126 126
127 virtual printing::PrintJobManager* print_job_manager() = 0; 127 virtual printing::PrintJobManager* print_job_manager() = 0;
128 128
129 virtual GoogleURLTracker* google_url_tracker() = 0; 129 virtual GoogleURLTracker* google_url_tracker() = 0;
130 130
131 // Returns the locale used by the application. 131 // Returns the locale used by the application.
132 virtual const std::wstring& GetApplicationLocale() = 0; 132 virtual const std::string& GetApplicationLocale() = 0;
133 133
134 virtual MemoryModel memory_model() = 0; 134 virtual MemoryModel memory_model() = 0;
135 135
136 DownloadRequestManager* download_request_manager(); 136 DownloadRequestManager* download_request_manager();
137 137
138 // Returns an event that is signaled when the browser shutdown. 138 // Returns an event that is signaled when the browser shutdown.
139 virtual base::WaitableEvent* shutdown_event() = 0; 139 virtual base::WaitableEvent* shutdown_event() = 0;
140 140
141 // Returns a reference to the user-data-dir based profiles vector. 141 // Returns a reference to the user-data-dir based profiles vector.
142 std::vector<std::wstring>& user_data_dir_profiles() { 142 std::vector<std::wstring>& user_data_dir_profiles() {
143 return user_data_dir_profiles_; 143 return user_data_dir_profiles_;
144 } 144 }
145 145
146 private: 146 private:
147 // User-data-dir based profiles. 147 // User-data-dir based profiles.
148 std::vector<std::wstring> user_data_dir_profiles_; 148 std::vector<std::wstring> user_data_dir_profiles_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 150 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
151 }; 151 };
152 152
153 extern BrowserProcess* g_browser_process; 153 extern BrowserProcess* g_browser_process;
154 154
155 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 155 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698