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

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

Issue 159882: Implements extensions devtools API (Closed)
Patch Set: Fixes flakiness in tests by grabbing tab ID in C++ land and passing it down Created 11 years, 4 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
« no previous file with comments | « chrome/browser/extensions/extension_message_service.cc ('k') | chrome/browser/profile.cc » ('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 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_PROFILE_H_ 7 #ifndef CHROME_BROWSER_PROFILE_H_
8 #define CHROME_BROWSER_PROFILE_H_ 8 #define CHROME_BROWSER_PROFILE_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 10 matching lines...) Expand all
21 namespace net { 21 namespace net {
22 class ForceTLSState; 22 class ForceTLSState;
23 class SSLConfigService; 23 class SSLConfigService;
24 } 24 }
25 class Blacklist; 25 class Blacklist;
26 class BookmarkModel; 26 class BookmarkModel;
27 class BrowserThemeProvider; 27 class BrowserThemeProvider;
28 class ChromeURLRequestContext; 28 class ChromeURLRequestContext;
29 class DownloadManager; 29 class DownloadManager;
30 class Extension; 30 class Extension;
31 class ExtensionDevToolsManager;
31 class ExtensionProcessManager; 32 class ExtensionProcessManager;
32 class ExtensionMessageService; 33 class ExtensionMessageService;
33 class ExtensionsService; 34 class ExtensionsService;
34 class HistoryService; 35 class HistoryService;
35 class NavigationController; 36 class NavigationController;
36 class PasswordStore; 37 class PasswordStore;
37 class PrefService; 38 class PrefService;
38 class ProfileSyncService; 39 class ProfileSyncService;
39 class SessionService; 40 class SessionService;
40 class SpellChecker; 41 class SpellChecker;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 123
123 // Retrieves a pointer to the ExtensionsService associated with this 124 // Retrieves a pointer to the ExtensionsService associated with this
124 // profile. The ExtensionsService is created at startup. 125 // profile. The ExtensionsService is created at startup.
125 virtual ExtensionsService* GetExtensionsService() = 0; 126 virtual ExtensionsService* GetExtensionsService() = 0;
126 127
127 // Retrieves a pointer to the UserScriptMaster associated with this 128 // Retrieves a pointer to the UserScriptMaster associated with this
128 // profile. The UserScriptMaster is lazily created the first time 129 // profile. The UserScriptMaster is lazily created the first time
129 // that this method is called. 130 // that this method is called.
130 virtual UserScriptMaster* GetUserScriptMaster() = 0; 131 virtual UserScriptMaster* GetUserScriptMaster() = 0;
131 132
133 // Retrieves a pointer to the ExtensionDevToolsManager associated with this
134 // profile. The instance is created at startup.
135 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() = 0;
136
132 // Retrieves a pointer to the ExtensionProcessManager associated with this 137 // Retrieves a pointer to the ExtensionProcessManager associated with this
133 // profile. The instance is created at startup. 138 // profile. The instance is created at startup.
134 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0; 139 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0;
135 140
136 // Retrieves a pointer to the ExtensionMessageService associated with this 141 // Retrieves a pointer to the ExtensionMessageService associated with this
137 // profile. The instance is created at startup. 142 // profile. The instance is created at startup.
138 virtual ExtensionMessageService* GetExtensionMessageService() = 0; 143 virtual ExtensionMessageService* GetExtensionMessageService() = 0;
139 144
140 // Retrieves a pointer to the SSLHostState associated with this profile. 145 // Retrieves a pointer to the SSLHostState associated with this profile.
141 // The SSLHostState is lazily created the first time that this method is 146 // The SSLHostState is lazily created the first time that this method is
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 virtual FilePath GetPath(); 343 virtual FilePath GetPath();
339 virtual bool IsOffTheRecord(); 344 virtual bool IsOffTheRecord();
340 virtual Profile* GetOffTheRecordProfile(); 345 virtual Profile* GetOffTheRecordProfile();
341 virtual void DestroyOffTheRecordProfile(); 346 virtual void DestroyOffTheRecordProfile();
342 virtual Profile* GetOriginalProfile(); 347 virtual Profile* GetOriginalProfile();
343 virtual VisitedLinkMaster* GetVisitedLinkMaster(); 348 virtual VisitedLinkMaster* GetVisitedLinkMaster();
344 virtual UserScriptMaster* GetUserScriptMaster(); 349 virtual UserScriptMaster* GetUserScriptMaster();
345 virtual SSLHostState* GetSSLHostState(); 350 virtual SSLHostState* GetSSLHostState();
346 virtual net::ForceTLSState* GetForceTLSState(); 351 virtual net::ForceTLSState* GetForceTLSState();
347 virtual ExtensionsService* GetExtensionsService(); 352 virtual ExtensionsService* GetExtensionsService();
353 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager();
348 virtual ExtensionProcessManager* GetExtensionProcessManager(); 354 virtual ExtensionProcessManager* GetExtensionProcessManager();
349 virtual ExtensionMessageService* GetExtensionMessageService(); 355 virtual ExtensionMessageService* GetExtensionMessageService();
350 virtual HistoryService* GetHistoryService(ServiceAccessType sat); 356 virtual HistoryService* GetHistoryService(ServiceAccessType sat);
351 virtual WebDataService* GetWebDataService(ServiceAccessType sat); 357 virtual WebDataService* GetWebDataService(ServiceAccessType sat);
352 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); 358 virtual PasswordStore* GetPasswordStore(ServiceAccessType sat);
353 virtual PrefService* GetPrefs(); 359 virtual PrefService* GetPrefs();
354 virtual TemplateURLModel* GetTemplateURLModel(); 360 virtual TemplateURLModel* GetTemplateURLModel();
355 virtual TemplateURLFetcher* GetTemplateURLFetcher(); 361 virtual TemplateURLFetcher* GetTemplateURLFetcher();
356 virtual DownloadManager* GetDownloadManager(); 362 virtual DownloadManager* GetDownloadManager();
357 virtual void InitThemes(); 363 virtual void InitThemes();
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 void InitializeSpellChecker(bool need_to_broadcast); 426 void InitializeSpellChecker(bool need_to_broadcast);
421 427
422 NotificationRegistrar registrar_; 428 NotificationRegistrar registrar_;
423 429
424 FilePath path_; 430 FilePath path_;
425 FilePath base_cache_path_; 431 FilePath base_cache_path_;
426 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; 432 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_;
427 scoped_ptr<VisitedLinkMaster> visited_link_master_; 433 scoped_ptr<VisitedLinkMaster> visited_link_master_;
428 scoped_refptr<ExtensionsService> extensions_service_; 434 scoped_refptr<ExtensionsService> extensions_service_;
429 scoped_refptr<UserScriptMaster> user_script_master_; 435 scoped_refptr<UserScriptMaster> user_script_master_;
436 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_;
430 scoped_ptr<ExtensionProcessManager> extension_process_manager_; 437 scoped_ptr<ExtensionProcessManager> extension_process_manager_;
431 scoped_refptr<ExtensionMessageService> extension_message_service_; 438 scoped_refptr<ExtensionMessageService> extension_message_service_;
432 scoped_ptr<SSLHostState> ssl_host_state_; 439 scoped_ptr<SSLHostState> ssl_host_state_;
433 scoped_ptr<net::ForceTLSState> force_tls_state_; 440 scoped_ptr<net::ForceTLSState> force_tls_state_;
434 scoped_ptr<PrefService> prefs_; 441 scoped_ptr<PrefService> prefs_;
435 scoped_refptr<ThumbnailStore> thumbnail_store_; 442 scoped_refptr<ThumbnailStore> thumbnail_store_;
436 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; 443 scoped_ptr<TemplateURLFetcher> template_url_fetcher_;
437 scoped_ptr<TemplateURLModel> template_url_model_; 444 scoped_ptr<TemplateURLModel> template_url_model_;
438 scoped_ptr<BookmarkModel> bookmark_bar_model_; 445 scoped_ptr<BookmarkModel> bookmark_bar_model_;
439 scoped_refptr<WebResourceService> web_resource_service_; 446 scoped_refptr<WebResourceService> web_resource_service_;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 #endif 508 #endif
502 509
503 // This struct is used to pass the spellchecker object through the notification 510 // This struct is used to pass the spellchecker object through the notification
504 // NOTIFY_SPELLCHECKER_REINITIALIZED. This is used as the details for the 511 // NOTIFY_SPELLCHECKER_REINITIALIZED. This is used as the details for the
505 // notification service. 512 // notification service.
506 struct SpellcheckerReinitializedDetails { 513 struct SpellcheckerReinitializedDetails {
507 scoped_refptr<SpellChecker> spellchecker; 514 scoped_refptr<SpellChecker> spellchecker;
508 }; 515 };
509 516
510 #endif // CHROME_BROWSER_PROFILE_H_ 517 #endif // CHROME_BROWSER_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_message_service.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698