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

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

Issue 4096004: PyAuto hooks for Sync in TestingAutomationProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase; Addressing final review comment. Created 10 years, 1 month 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/automation/testing_automation_provider.cc ('k') | chrome/browser/profile.cc » ('j') | 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 virtual SessionService* GetSessionService() = 0; 372 virtual SessionService* GetSessionService() = 0;
373 373
374 // If this profile has a session service, it is shut down. To properly record 374 // If this profile has a session service, it is shut down. To properly record
375 // the current state this forces creation of the session service, then shuts 375 // the current state this forces creation of the session service, then shuts
376 // it down. 376 // it down.
377 virtual void ShutdownSessionService() = 0; 377 virtual void ShutdownSessionService() = 0;
378 378
379 // Returns true if this profile has a session service. 379 // Returns true if this profile has a session service.
380 virtual bool HasSessionService() const = 0; 380 virtual bool HasSessionService() const = 0;
381 381
382 // Returns true if this profile has a profile sync service.
383 virtual bool HasProfileSyncService() const = 0;
384
382 // Returns true if the last time this profile was open it was exited cleanly. 385 // Returns true if the last time this profile was open it was exited cleanly.
383 virtual bool DidLastSessionExitCleanly() = 0; 386 virtual bool DidLastSessionExitCleanly() = 0;
384 387
385 // Returns the BookmarkModel, creating if not yet created. 388 // Returns the BookmarkModel, creating if not yet created.
386 virtual BookmarkModel* GetBookmarkModel() = 0; 389 virtual BookmarkModel* GetBookmarkModel() = 0;
387 390
388 // Returns the Gaia Token Service, creating if not yet created. 391 // Returns the Gaia Token Service, creating if not yet created.
389 virtual TokenService* GetTokenService() = 0; 392 virtual TokenService* GetTokenService() = 0;
390 393
391 // Returns the ProfileSyncService, creating if not yet created. 394 // Returns the ProfileSyncService, creating if not yet created.
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 bool restored_last_session_; 517 bool restored_last_session_;
515 518
516 // Accessibility events will only be propagated when the pause 519 // Accessibility events will only be propagated when the pause
517 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents 520 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents
518 // increment and decrement the level, respectively, rather than set it to 521 // increment and decrement the level, respectively, rather than set it to
519 // true or false, so that calls can be nested. 522 // true or false, so that calls can be nested.
520 int accessibility_pause_level_; 523 int accessibility_pause_level_;
521 }; 524 };
522 525
523 #endif // CHROME_BROWSER_PROFILE_H_ 526 #endif // CHROME_BROWSER_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698