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

Side by Side Diff: chrome/browser/profiles/profile.h

Issue 6598002: Make the ChromeNetworkDelegate use the ExtensionEventRouterForwarder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 9 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 class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 class ChromeAppCacheService; 56 class ChromeAppCacheService;
57 class ChromeBlobStorageContext; 57 class ChromeBlobStorageContext;
58 class ChromeURLDataManager; 58 class ChromeURLDataManager;
59 class CloudPrintProxyService; 59 class CloudPrintProxyService;
60 class DesktopNotificationService; 60 class DesktopNotificationService;
61 class DownloadManager; 61 class DownloadManager;
62 class Extension; 62 class Extension;
63 class ExtensionDevToolsManager; 63 class ExtensionDevToolsManager;
64 class ExtensionEventRouter; 64 class ExtensionEventRouter;
65 class ExtensionInfoMap; 65 class ExtensionInfoMap;
66 class ExtensionIOEventRouter;
67 class ExtensionMessageService; 66 class ExtensionMessageService;
68 class ExtensionPrefValueMap; 67 class ExtensionPrefValueMap;
69 class ExtensionProcessManager; 68 class ExtensionProcessManager;
70 class ExtensionService; 69 class ExtensionService;
71 class ExtensionSpecialStoragePolicy; 70 class ExtensionSpecialStoragePolicy;
72 class FaviconService; 71 class FaviconService;
73 class FilePath; 72 class FilePath;
74 class FindBarState; 73 class FindBarState;
75 class GeolocationContentSettingsMap; 74 class GeolocationContentSettingsMap;
76 class GeolocationPermissionContext; 75 class GeolocationPermissionContext;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // in the profile, as part of Chrome's implicit data logging. Use this flag 134 // in the profile, as part of Chrome's implicit data logging. Use this flag
136 // when you are about to perform an operation which is incompatible with the 135 // when you are about to perform an operation which is incompatible with the
137 // off the record mode. 136 // off the record mode.
138 IMPLICIT_ACCESS 137 IMPLICIT_ACCESS
139 }; 138 };
140 139
141 // Key used to bind profile to the widget with which it is associated. 140 // Key used to bind profile to the widget with which it is associated.
142 static const char* kProfileKey; 141 static const char* kProfileKey;
143 142
144 // Value that represents no profile Id. 143 // Value that represents no profile Id.
145 static const ProfileId InvalidProfileId; 144 static const ProfileId kInvalidProfileId;
146 145
147 Profile(); 146 Profile();
148 virtual ~Profile() {} 147 virtual ~Profile() {}
149 148
150 // Profile prefs are registered as soon as the prefs are loaded for the first 149 // Profile prefs are registered as soon as the prefs are loaded for the first
151 // time. 150 // time.
152 static void RegisterUserPrefs(PrefService* prefs); 151 static void RegisterUserPrefs(PrefService* prefs);
153 152
154 // Create a new profile given a path. 153 // Create a new profile given a path.
155 static Profile* CreateProfile(const FilePath& path); 154 static Profile* CreateProfile(const FilePath& path);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // profile. The instance is created at startup. 219 // profile. The instance is created at startup.
221 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0; 220 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0;
222 221
223 // Retrieves a pointer to the ExtensionMessageService associated with this 222 // Retrieves a pointer to the ExtensionMessageService associated with this
224 // profile. The instance is created at startup. 223 // profile. The instance is created at startup.
225 virtual ExtensionMessageService* GetExtensionMessageService() = 0; 224 virtual ExtensionMessageService* GetExtensionMessageService() = 0;
226 225
227 // Accessor. The instance is created at startup. 226 // Accessor. The instance is created at startup.
228 virtual ExtensionEventRouter* GetExtensionEventRouter() = 0; 227 virtual ExtensionEventRouter* GetExtensionEventRouter() = 0;
229 228
230 // Accessor. The instance is created at startup.
231 virtual ExtensionIOEventRouter* GetExtensionIOEventRouter() = 0;
232
233 // Accessor. The instance is created upon first access. 229 // Accessor. The instance is created upon first access.
234 virtual ExtensionSpecialStoragePolicy* 230 virtual ExtensionSpecialStoragePolicy*
235 GetExtensionSpecialStoragePolicy() = 0; 231 GetExtensionSpecialStoragePolicy() = 0;
236 232
237 // Retrieves a pointer to the SSLHostState associated with this profile. 233 // Retrieves a pointer to the SSLHostState associated with this profile.
238 // The SSLHostState is lazily created the first time that this method is 234 // The SSLHostState is lazily created the first time that this method is
239 // called. 235 // called.
240 virtual SSLHostState* GetSSLHostState() = 0; 236 virtual SSLHostState* GetSSLHostState() = 0;
241 237
242 // Retrieves a pointer to the TransportSecurityState associated with 238 // Retrieves a pointer to the TransportSecurityState associated with
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 bool restored_last_session_; 598 bool restored_last_session_;
603 599
604 // Accessibility events will only be propagated when the pause 600 // Accessibility events will only be propagated when the pause
605 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents 601 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents
606 // increment and decrement the level, respectively, rather than set it to 602 // increment and decrement the level, respectively, rather than set it to
607 // true or false, so that calls can be nested. 603 // true or false, so that calls can be nested.
608 int accessibility_pause_level_; 604 int accessibility_pause_level_;
609 }; 605 };
610 606
611 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 607 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698