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

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

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/profile.h ('k') | chrome/browser/profile_impl.h » ('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 #include "chrome/browser/profile.h" 5 #include "chrome/browser/profile.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 417
418 virtual void ShutdownSessionService() { 418 virtual void ShutdownSessionService() {
419 // We don't allow a session service, nothing to do. 419 // We don't allow a session service, nothing to do.
420 } 420 }
421 421
422 virtual bool HasSessionService() const { 422 virtual bool HasSessionService() const {
423 // We never have a session service. 423 // We never have a session service.
424 return false; 424 return false;
425 } 425 }
426 426
427 virtual bool HasProfileSyncService() const {
428 // We never have a profile sync service.
429 return false;
430 }
431
427 virtual bool DidLastSessionExitCleanly() { 432 virtual bool DidLastSessionExitCleanly() {
428 return profile_->DidLastSessionExitCleanly(); 433 return profile_->DidLastSessionExitCleanly();
429 } 434 }
430 435
431 virtual BookmarkModel* GetBookmarkModel() { 436 virtual BookmarkModel* GetBookmarkModel() {
432 return profile_->GetBookmarkModel(); 437 return profile_->GetBookmarkModel();
433 } 438 }
434 439
435 virtual DesktopNotificationService* GetDesktopNotificationService() { 440 virtual DesktopNotificationService* GetDesktopNotificationService() {
436 if (!desktop_notification_service_.get()) { 441 if (!desktop_notification_service_.get()) {
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 633
629 // The file_system context for this profile. 634 // The file_system context for this profile.
630 scoped_refptr<FileSystemHostContext> file_system_host_context_; 635 scoped_refptr<FileSystemHostContext> file_system_host_context_;
631 636
632 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 637 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
633 }; 638 };
634 639
635 Profile* Profile::CreateOffTheRecordProfile() { 640 Profile* Profile::CreateOffTheRecordProfile() {
636 return new OffTheRecordProfileImpl(this); 641 return new OffTheRecordProfileImpl(this);
637 } 642 }
OLDNEW
« no previous file with comments | « chrome/browser/profile.h ('k') | chrome/browser/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698