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

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

Issue 3149: Porting changes in chrome/{browser,common}, also enabling more unit tests.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Returns the locale used by the application. 117 // Returns the locale used by the application.
118 virtual const std::wstring& GetApplicationLocale() = 0; 118 virtual const std::wstring& GetApplicationLocale() = 0;
119 119
120 virtual MemoryModel memory_model() = 0; 120 virtual MemoryModel memory_model() = 0;
121 121
122 virtual SuspendController* suspend_controller() = 0; 122 virtual SuspendController* suspend_controller() = 0;
123 123
124 // TODO(beng): remove once XPFrame/VistaFrame are gone. 124 // TODO(beng): remove once XPFrame/VistaFrame are gone.
125 virtual bool IsUsingNewFrames() = 0; 125 virtual bool IsUsingNewFrames() = 0;
126 126
127 #if defined(OS_WIN)
127 // Returns an event that is signaled when the browser shutdown. 128 // Returns an event that is signaled when the browser shutdown.
128 virtual HANDLE shutdown_event() = 0; 129 virtual HANDLE shutdown_event() = 0;
130 #endif
129 131
130 private: 132 private:
131 DISALLOW_EVIL_CONSTRUCTORS(BrowserProcess); 133 DISALLOW_EVIL_CONSTRUCTORS(BrowserProcess);
132 }; 134 };
133 135
134 extern BrowserProcess* g_browser_process; 136 extern BrowserProcess* g_browser_process;
135 137
136 #endif // CHROME_BROWSER_BROWSER_PROCESS_H__ 138 #endif // CHROME_BROWSER_BROWSER_PROCESS_H__
137 139
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698