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

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

Issue 5292003: Some cosmetic fixups to the device management service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/policy/device_management_service.cc ('k') | no next file » | 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) 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 // Returns a pointer to the ChromeBlobStorageContext instance for this 469 // Returns a pointer to the ChromeBlobStorageContext instance for this
470 // profile. 470 // profile.
471 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; 471 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0;
472 472
473 // Returns the IO-thread-accessible profile data for this profile. 473 // Returns the IO-thread-accessible profile data for this profile.
474 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; 474 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0;
475 475
476 // Returns the PromoCounter for Instant, or NULL if not applicable. 476 // Returns the PromoCounter for Instant, or NULL if not applicable.
477 virtual PromoCounter* GetInstantPromoCounter() = 0; 477 virtual PromoCounter* GetInstantPromoCounter() = 0;
478 478
479 // Gets the device management service associated with this profile. 479 // Gets the policy context associated with this profile.
480 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0; 480 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0;
481 481
482 #if defined(OS_CHROMEOS) 482 #if defined(OS_CHROMEOS)
483 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. 483 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created.
484 virtual chromeos::ProxyConfigServiceImpl* 484 virtual chromeos::ProxyConfigServiceImpl*
485 GetChromeOSProxyConfigServiceImpl() = 0; 485 GetChromeOSProxyConfigServiceImpl() = 0;
486 #endif // defined(OS_CHROMEOS) 486 #endif // defined(OS_CHROMEOS)
487 487
488 #ifdef UNIT_TEST 488 #ifdef UNIT_TEST
489 // Use with caution. GetDefaultRequestContext may be called on any thread! 489 // Use with caution. GetDefaultRequestContext may be called on any thread!
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 bool restored_last_session_; 530 bool restored_last_session_;
531 531
532 // Accessibility events will only be propagated when the pause 532 // Accessibility events will only be propagated when the pause
533 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents 533 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents
534 // increment and decrement the level, respectively, rather than set it to 534 // increment and decrement the level, respectively, rather than set it to
535 // true or false, so that calls can be nested. 535 // true or false, so that calls can be nested.
536 int accessibility_pause_level_; 536 int accessibility_pause_level_;
537 }; 537 };
538 538
539 #endif // CHROME_BROWSER_PROFILE_H_ 539 #endif // CHROME_BROWSER_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/device_management_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698