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

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

Issue 6479007: Attempt 3 at: Splits ChromeURLDataManager into 2 chunks:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class SandboxedFileSystemContext; 43 class SandboxedFileSystemContext;
44 } 44 }
45 45
46 class AutocompleteClassifier; 46 class AutocompleteClassifier;
47 class BackgroundContentsService; 47 class BackgroundContentsService;
48 class BookmarkModel; 48 class BookmarkModel;
49 class BrowserSignin; 49 class BrowserSignin;
50 class BrowserThemeProvider; 50 class BrowserThemeProvider;
51 class ChromeAppCacheService; 51 class ChromeAppCacheService;
52 class ChromeBlobStorageContext; 52 class ChromeBlobStorageContext;
53 class ChromeURLRequestContextGetter; 53 class ChromeURLDataManager;
54 class CloudPrintProxyService; 54 class CloudPrintProxyService;
55 class DesktopNotificationService; 55 class DesktopNotificationService;
56 class DownloadManager; 56 class DownloadManager;
57 class Extension; 57 class Extension;
58 class ExtensionDevToolsManager; 58 class ExtensionDevToolsManager;
59 class ExtensionEventRouter; 59 class ExtensionEventRouter;
60 class ExtensionInfoMap; 60 class ExtensionInfoMap;
61 class ExtensionIOEventRouter; 61 class ExtensionIOEventRouter;
62 class ExtensionMessageService; 62 class ExtensionMessageService;
63 class ExtensionPrefValueMap; 63 class ExtensionPrefValueMap;
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 490
491 // Returns the IO-thread-accessible profile data for this profile. 491 // Returns the IO-thread-accessible profile data for this profile.
492 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; 492 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0;
493 493
494 // Returns the PromoCounter for Instant, or NULL if not applicable. 494 // Returns the PromoCounter for Instant, or NULL if not applicable.
495 virtual PromoCounter* GetInstantPromoCounter() = 0; 495 virtual PromoCounter* GetInstantPromoCounter() = 0;
496 496
497 // Gets the policy context associated with this profile. 497 // Gets the policy context associated with this profile.
498 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0; 498 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0;
499 499
500 // Returns the ChromeURLDataManager for this profile.
501 virtual ChromeURLDataManager* GetChromeURLDataManager() = 0;
502
500 #if defined(OS_CHROMEOS) 503 #if defined(OS_CHROMEOS)
501 enum AppLocaleChangedVia { 504 enum AppLocaleChangedVia {
502 // Caused by chrome://settings change. 505 // Caused by chrome://settings change.
503 APP_LOCALE_CHANGED_VIA_SETTINGS, 506 APP_LOCALE_CHANGED_VIA_SETTINGS,
504 // Locale has been reverted via LocaleChangeGuard. 507 // Locale has been reverted via LocaleChangeGuard.
505 APP_LOCALE_CHANGED_VIA_REVERT, 508 APP_LOCALE_CHANGED_VIA_REVERT,
506 // From login screen. 509 // From login screen.
507 APP_LOCALE_CHANGED_VIA_LOGIN, 510 APP_LOCALE_CHANGED_VIA_LOGIN,
508 // Source unknown. 511 // Source unknown.
509 APP_LOCALE_CHANGED_VIA_UNKNOWN 512 APP_LOCALE_CHANGED_VIA_UNKNOWN
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 bool restored_last_session_; 583 bool restored_last_session_;
581 584
582 // Accessibility events will only be propagated when the pause 585 // Accessibility events will only be propagated when the pause
583 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents 586 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents
584 // increment and decrement the level, respectively, rather than set it to 587 // increment and decrement the level, respectively, rather than set it to
585 // true or false, so that calls can be nested. 588 // true or false, so that calls can be nested.
586 int accessibility_pause_level_; 589 int accessibility_pause_level_;
587 }; 590 };
588 591
589 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 592 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698