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

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

Issue 3028033: Add a helper class that keeps per-profile information for FileSystem API (Closed)
Patch Set: fixed tests Created 10 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
OLDNEW
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class ChromeURLRequestContextGetter; 43 class ChromeURLRequestContextGetter;
44 class DesktopNotificationService; 44 class DesktopNotificationService;
45 class DownloadManager; 45 class DownloadManager;
46 class Extension; 46 class Extension;
47 class ExtensionDevToolsManager; 47 class ExtensionDevToolsManager;
48 class ExtensionProcessManager; 48 class ExtensionProcessManager;
49 class ExtensionMessageService; 49 class ExtensionMessageService;
50 class ExtensionsService; 50 class ExtensionsService;
51 class FaviconService; 51 class FaviconService;
52 class FilePath; 52 class FilePath;
53 class FileSystemHostContext;
53 class FindBarState; 54 class FindBarState;
54 class GeolocationContentSettingsMap; 55 class GeolocationContentSettingsMap;
55 class GeolocationPermissionContext; 56 class GeolocationPermissionContext;
56 class HistoryService; 57 class HistoryService;
57 class HostContentSettingsMap; 58 class HostContentSettingsMap;
58 class HostZoomMap; 59 class HostZoomMap;
59 class NavigationController; 60 class NavigationController;
60 class NTPResourceCache; 61 class NTPResourceCache;
61 class PasswordStore; 62 class PasswordStore;
62 class PersonalDataManager; 63 class PersonalDataManager;
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // profile. 270 // profile.
270 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; 271 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0;
271 272
272 // Returns the DownloadManager associated with this profile. 273 // Returns the DownloadManager associated with this profile.
273 virtual DownloadManager* GetDownloadManager() = 0; 274 virtual DownloadManager* GetDownloadManager() = 0;
274 virtual bool HasCreatedDownloadManager() const = 0; 275 virtual bool HasCreatedDownloadManager() const = 0;
275 276
276 // Returns the PersonalDataManager associated with this profile. 277 // Returns the PersonalDataManager associated with this profile.
277 virtual PersonalDataManager* GetPersonalDataManager() = 0; 278 virtual PersonalDataManager* GetPersonalDataManager() = 0;
278 279
280 // Returns the HTML5 FileSystemHostContext assigned to this profile.
281 virtual FileSystemHostContext* GetFileSystemHostContext() = 0;
282
279 // Init our themes system. 283 // Init our themes system.
280 virtual void InitThemes() = 0; 284 virtual void InitThemes() = 0;
281 285
282 // Set the theme to the specified extension. 286 // Set the theme to the specified extension.
283 virtual void SetTheme(Extension* extension) = 0; 287 virtual void SetTheme(Extension* extension) = 0;
284 288
285 // Set the theme to the machine's native theme. 289 // Set the theme to the machine's native theme.
286 virtual void SetNativeTheme() = 0; 290 virtual void SetNativeTheme() = 0;
287 291
288 // Clear the theme and reset it to default. 292 // Clear the theme and reset it to default.
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 bool restored_last_session_; 484 bool restored_last_session_;
481 485
482 // Accessibility events will only be propagated when the pause 486 // Accessibility events will only be propagated when the pause
483 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents 487 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents
484 // increment and decrement the level, respectively, rather than set it to 488 // increment and decrement the level, respectively, rather than set it to
485 // true or false, so that calls can be nested. 489 // true or false, so that calls can be nested.
486 int accessibility_pause_level_; 490 int accessibility_pause_level_;
487 }; 491 };
488 492
489 #endif // CHROME_BROWSER_PROFILE_H_ 493 #endif // CHROME_BROWSER_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/file_system/file_system_host_context_unittest.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698