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

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

Issue 6520008: Device policy infrastructure (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 interface is for managing the global services of the application. Each 5 // This interface 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class Thread; 44 class Thread;
45 class WaitableEvent; 45 class WaitableEvent;
46 } 46 }
47 47
48 namespace printing { 48 namespace printing {
49 class PrintJobManager; 49 class PrintJobManager;
50 class PrintPreviewTabController; 50 class PrintPreviewTabController;
51 } 51 }
52 52
53 namespace policy { 53 namespace policy {
54 class ConfigurationPolicyProviderKeeper; 54 class BrowserPolicyConnector;
55 } 55 }
56 56
57 namespace ui { 57 namespace ui {
58 class Clipboard; 58 class Clipboard;
59 } 59 }
60 60
61 // NOT THREAD SAFE, call only from the main thread. 61 // NOT THREAD SAFE, call only from the main thread.
62 // These functions shouldn't return NULL unless otherwise noted. 62 // These functions shouldn't return NULL unless otherwise noted.
63 class BrowserProcess { 63 class BrowserProcess {
64 public: 64 public:
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 #if defined(USE_X11) 109 #if defined(USE_X11)
110 // Returns the thread that is used to process UI requests in cases where 110 // Returns the thread that is used to process UI requests in cases where
111 // we can't route the request to the UI thread. Note that this thread 111 // we can't route the request to the UI thread. Note that this thread
112 // should only be used by the IO thread and this method is only safe to call 112 // should only be used by the IO thread and this method is only safe to call
113 // from the UI thread so, if you've ended up here, something has gone wrong. 113 // from the UI thread so, if you've ended up here, something has gone wrong.
114 // This method is only included for uniformity. 114 // This method is only included for uniformity.
115 virtual base::Thread* background_x11_thread() = 0; 115 virtual base::Thread* background_x11_thread() = 0;
116 #endif 116 #endif
117 117
118 virtual policy::ConfigurationPolicyProviderKeeper* 118 virtual policy::BrowserPolicyConnector* browser_policy_connector() = 0;
119 configuration_policy_provider_keeper() = 0;
120 119
121 virtual IconManager* icon_manager() = 0; 120 virtual IconManager* icon_manager() = 0;
122 121
123 virtual ThumbnailGenerator* GetThumbnailGenerator() = 0; 122 virtual ThumbnailGenerator* GetThumbnailGenerator() = 0;
124 123
125 virtual AutomationProviderList* InitAutomationProviderList() = 0; 124 virtual AutomationProviderList* InitAutomationProviderList() = 0;
126 125
127 virtual void InitDevToolsHttpProtocolHandler( 126 virtual void InitDevToolsHttpProtocolHandler(
128 const std::string& ip, 127 const std::string& ip,
129 int port, 128 int port,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 208
210 // Used for testing plugin data removal at shutdown. 209 // Used for testing plugin data removal at shutdown.
211 std::string plugin_data_remover_mime_type_; 210 std::string plugin_data_remover_mime_type_;
212 211
213 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 212 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
214 }; 213 };
215 214
216 extern BrowserProcess* g_browser_process; 215 extern BrowserProcess* g_browser_process;
217 216
218 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 217 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | chrome/browser/policy/device_token_fetcher_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698