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

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

Issue 7024058: [Sync] Clean up sync logging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 9 years, 6 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
11 #include <string>
12
11 #include "base/basictypes.h" 13 #include "base/basictypes.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "chrome/common/extensions/extension.h" 15 #include "chrome/common/extensions/extension.h"
14 16
15 namespace base { 17 namespace base {
16 class Time; 18 class Time;
17 } 19 }
18 20
19 namespace content { 21 namespace content {
20 class ResourceContext; 22 class ResourceContext;
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 #endif // defined(OS_CHROMEOS) 512 #endif // defined(OS_CHROMEOS)
511 513
512 // Returns the helper object that provides the proxy configuration service 514 // Returns the helper object that provides the proxy configuration service
513 // access to the the proxy configuration possibly defined by preferences. 515 // access to the the proxy configuration possibly defined by preferences.
514 virtual PrefProxyConfigTracker* GetProxyConfigTracker() = 0; 516 virtual PrefProxyConfigTracker* GetProxyConfigTracker() = 0;
515 517
516 // Returns the PrerenderManager used to prerender entire webpages for this 518 // Returns the PrerenderManager used to prerender entire webpages for this
517 // profile. 519 // profile.
518 virtual prerender::PrerenderManager* GetPrerenderManager() = 0; 520 virtual prerender::PrerenderManager* GetPrerenderManager() = 0;
519 521
522 std::string GetDebugName();
523
520 // Returns whether it is a guest session. 524 // Returns whether it is a guest session.
521 static bool IsGuestSession(); 525 static bool IsGuestSession();
522 526
523 #ifdef UNIT_TEST 527 #ifdef UNIT_TEST
524 // Use with caution. GetDefaultRequestContext may be called on any thread! 528 // Use with caution. GetDefaultRequestContext may be called on any thread!
525 static void set_default_request_context(net::URLRequestContextGetter* c) { 529 static void set_default_request_context(net::URLRequestContextGetter* c) {
526 default_request_context_ = c; 530 default_request_context_ = c;
527 } 531 }
528 #endif 532 #endif
529 533
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 bool restored_last_session_; 571 bool restored_last_session_;
568 572
569 // Accessibility events will only be propagated when the pause 573 // Accessibility events will only be propagated when the pause
570 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents 574 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents
571 // increment and decrement the level, respectively, rather than set it to 575 // increment and decrement the level, respectively, rather than set it to
572 // true or false, so that calls can be nested. 576 // true or false, so that calls can be nested.
573 int accessibility_pause_level_; 577 int accessibility_pause_level_;
574 }; 578 };
575 579
576 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 580 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698