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

Side by Side Diff: chrome/browser/sync/test_profile_sync_service.h

Issue 9665007: Profile refactoring: Remove all PasswordStore code from the Profile interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add to factory list Created 8 years, 9 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 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 29 matching lines...) Expand all
40 virtual ~SyncBackendHostForProfileSyncTest(); 40 virtual ~SyncBackendHostForProfileSyncTest();
41 41
42 MOCK_METHOD1(RequestNudge, void(const tracked_objects::Location&)); 42 MOCK_METHOD1(RequestNudge, void(const tracked_objects::Location&));
43 43
44 // Called when a nudge comes in. 44 // Called when a nudge comes in.
45 void SimulateSyncCycleCompletedInitialSyncEnded( 45 void SimulateSyncCycleCompletedInitialSyncEnded(
46 const tracked_objects::Location&); 46 const tracked_objects::Location&);
47 47
48 virtual void StartConfiguration(const base::Closure& callback) OVERRIDE; 48 virtual void StartConfiguration(const base::Closure& callback) OVERRIDE;
49 49
50 static void SetDefaultExpectationsForWorkerCreation(ProfileMock* profile);
51
52 static void SetHistoryServiceExpectations(ProfileMock* profile); 50 static void SetHistoryServiceExpectations(ProfileMock* profile);
53 51
54 protected: 52 protected:
55 virtual void InitCore(const DoInitializeOptions& options) OVERRIDE; 53 virtual void InitCore(const DoInitializeOptions& options) OVERRIDE;
56 54
57 private: 55 private:
58 bool synchronous_init_; 56 bool synchronous_init_;
59 bool fail_initial_download_; 57 bool fail_initial_download_;
60 }; 58 };
61 59
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 114
117 base::Closure callback_; 115 base::Closure callback_;
118 bool set_initial_sync_ended_on_init_; 116 bool set_initial_sync_ended_on_init_;
119 117
120 bool fail_initial_download_; 118 bool fail_initial_download_;
121 }; 119 };
122 120
123 121
124 122
125 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 123 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/passwords_helper.cc ('k') | chrome/browser/sync/test_profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698