| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 namespace webkit_database { | 33 namespace webkit_database { |
| 34 class DatabaseTracker; | 34 class DatabaseTracker; |
| 35 } | 35 } |
| 36 | 36 |
| 37 class AutocompleteClassifier; | 37 class AutocompleteClassifier; |
| 38 class BackgroundContentsService; | 38 class BackgroundContentsService; |
| 39 class BackgroundModeManager; | 39 class BackgroundModeManager; |
| 40 class BookmarkModel; | 40 class BookmarkModel; |
| 41 class BrowserThemeProvider; | 41 class BrowserThemeProvider; |
| 42 class ChromeAppCacheService; | 42 class ChromeAppCacheService; |
| 43 class ChromeBlobStorageContext; |
| 43 class ChromeURLRequestContextGetter; | 44 class ChromeURLRequestContextGetter; |
| 44 class DesktopNotificationService; | 45 class DesktopNotificationService; |
| 45 class DownloadManager; | 46 class DownloadManager; |
| 46 class Extension; | 47 class Extension; |
| 47 class ExtensionDevToolsManager; | 48 class ExtensionDevToolsManager; |
| 48 class ExtensionProcessManager; | 49 class ExtensionProcessManager; |
| 49 class ExtensionMessageService; | 50 class ExtensionMessageService; |
| 50 class ExtensionsService; | 51 class ExtensionsService; |
| 51 class FaviconService; | 52 class FaviconService; |
| 52 class FilePath; | 53 class FilePath; |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 | 423 |
| 423 virtual void InitExtensions() = 0; | 424 virtual void InitExtensions() = 0; |
| 424 | 425 |
| 425 // Returns the new tab page resource cache. | 426 // Returns the new tab page resource cache. |
| 426 virtual NTPResourceCache* GetNTPResourceCache() = 0; | 427 virtual NTPResourceCache* GetNTPResourceCache() = 0; |
| 427 | 428 |
| 428 // Returns the last directory that was chosen for uploading or opening a file. | 429 // Returns the last directory that was chosen for uploading or opening a file. |
| 429 virtual FilePath last_selected_directory() = 0; | 430 virtual FilePath last_selected_directory() = 0; |
| 430 virtual void set_last_selected_directory(const FilePath& path) = 0; | 431 virtual void set_last_selected_directory(const FilePath& path) = 0; |
| 431 | 432 |
| 433 // Returns a pointer to the ChromeBlobStorageContext instance for this |
| 434 // profile. |
| 435 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
| 436 |
| 432 #if defined(OS_CHROMEOS) | 437 #if defined(OS_CHROMEOS) |
| 433 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. | 438 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. |
| 434 virtual chromeos::ProxyConfigServiceImpl* | 439 virtual chromeos::ProxyConfigServiceImpl* |
| 435 GetChromeOSProxyConfigServiceImpl() = 0; | 440 GetChromeOSProxyConfigServiceImpl() = 0; |
| 436 #endif // defined(OS_CHROMEOS) | 441 #endif // defined(OS_CHROMEOS) |
| 437 | 442 |
| 438 #ifdef UNIT_TEST | 443 #ifdef UNIT_TEST |
| 439 // Use with caution. GetDefaultRequestContext may be called on any thread! | 444 // Use with caution. GetDefaultRequestContext may be called on any thread! |
| 440 static void set_default_request_context(URLRequestContextGetter* c) { | 445 static void set_default_request_context(URLRequestContextGetter* c) { |
| 441 default_request_context_ = c; | 446 default_request_context_ = c; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 bool restored_last_session_; | 485 bool restored_last_session_; |
| 481 | 486 |
| 482 // Accessibility events will only be propagated when the pause | 487 // Accessibility events will only be propagated when the pause |
| 483 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 488 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
| 484 // increment and decrement the level, respectively, rather than set it to | 489 // increment and decrement the level, respectively, rather than set it to |
| 485 // true or false, so that calls can be nested. | 490 // true or false, so that calls can be nested. |
| 486 int accessibility_pause_level_; | 491 int accessibility_pause_level_; |
| 487 }; | 492 }; |
| 488 | 493 |
| 489 #endif // CHROME_BROWSER_PROFILE_H_ | 494 #endif // CHROME_BROWSER_PROFILE_H_ |
| OLD | NEW |