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

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

Issue 6894027: Initial refactoring complete Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed some tests that were broken by previous refactoring Created 9 years, 8 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/net/gaia/token_service.cc ('k') | chrome/browser/profiles/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) 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 23 matching lines...) Expand all
34 } 34 }
35 35
36 namespace prerender { 36 namespace prerender {
37 class PrerenderManager; 37 class PrerenderManager;
38 } 38 }
39 39
40 namespace webkit_database { 40 namespace webkit_database {
41 class DatabaseTracker; 41 class DatabaseTracker;
42 } 42 }
43 43
44 class AuthenticationService;
44 class AutocompleteClassifier; 45 class AutocompleteClassifier;
45 class BackgroundContentsService; 46 class BackgroundContentsService;
46 class BookmarkModel; 47 class BookmarkModel;
47 class BrowserSignin; 48 class BrowserSignin;
48 class ChromeAppCacheService; 49 class ChromeAppCacheService;
49 class ChromeBlobStorageContext; 50 class ChromeBlobStorageContext;
50 class ChromeURLDataManager; 51 class ChromeURLDataManager;
51 class CloudPrintProxyService; 52 class CloudPrintProxyService;
52 class DesktopNotificationService; 53 class DesktopNotificationService;
53 class DownloadManager; 54 class DownloadManager;
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // Returns true if the last time this profile was open it was exited cleanly. 404 // Returns true if the last time this profile was open it was exited cleanly.
404 virtual bool DidLastSessionExitCleanly() = 0; 405 virtual bool DidLastSessionExitCleanly() = 0;
405 406
406 // Returns the BookmarkModel, creating if not yet created. 407 // Returns the BookmarkModel, creating if not yet created.
407 virtual BookmarkModel* GetBookmarkModel() = 0; 408 virtual BookmarkModel* GetBookmarkModel() = 0;
408 409
409 // Returns the ProtocolHandlerRegistry, creating if not yet created. 410 // Returns the ProtocolHandlerRegistry, creating if not yet created.
410 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() = 0; 411 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() = 0;
411 412
412 // Returns the Gaia Token Service, creating if not yet created. 413 // Returns the Gaia Token Service, creating if not yet created.
414 // New use-cases should begin with GetAuthenticationService().
413 virtual TokenService* GetTokenService() = 0; 415 virtual TokenService* GetTokenService() = 0;
414 416
417 // Returns the default Authentication Service, creating if not yet created.
418 // Intended to replace GetTokenService()
419 virtual AuthenticationService* GetAuthenticationService() = 0;
420
415 // Returns the ProfileSyncService, creating if not yet created. 421 // Returns the ProfileSyncService, creating if not yet created.
416 virtual ProfileSyncService* GetProfileSyncService() = 0; 422 virtual ProfileSyncService* GetProfileSyncService() = 0;
417 423
418 // Returns the ProfileSyncService, creating if not yet created, with 424 // Returns the ProfileSyncService, creating if not yet created, with
419 // the specified CrOS username. 425 // the specified CrOS username.
420 virtual ProfileSyncService* GetProfileSyncService( 426 virtual ProfileSyncService* GetProfileSyncService(
421 const std::string& cros_user) = 0; 427 const std::string& cros_user) = 0;
422 428
423 // Returns the CloudPrintProxyService, creating if not yet created. 429 // Returns the CloudPrintProxyService, creating if not yet created.
424 virtual CloudPrintProxyService* GetCloudPrintProxyService() = 0; 430 virtual CloudPrintProxyService* GetCloudPrintProxyService() = 0;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 bool restored_last_session_; 590 bool restored_last_session_;
585 591
586 // Accessibility events will only be propagated when the pause 592 // Accessibility events will only be propagated when the pause
587 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents 593 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents
588 // increment and decrement the level, respectively, rather than set it to 594 // increment and decrement the level, respectively, rather than set it to
589 // true or false, so that calls can be nested. 595 // true or false, so that calls can be nested.
590 int accessibility_pause_level_; 596 int accessibility_pause_level_;
591 }; 597 };
592 598
593 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 599 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/gaia/token_service.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698