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

Side by Side Diff: chrome/browser/sync/glue/change_processor_mock.h

Issue 5606002: Move:... (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
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 #ifndef CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__
6 #define CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/sync/engine/syncapi.h" 10 #include "chrome/browser/sync/engine/syncapi.h"
11 #include "chrome/browser/sync/glue/change_processor.h" 11 #include "chrome/browser/sync/glue/change_processor.h"
12 #include "chrome/browser/sync/syncable/syncable.h" 12 #include "chrome/browser/sync/syncable/syncable.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 14
15 namespace browser_sync { 15 namespace browser_sync {
16 16
17 class ChangeProcessorMock : public ChangeProcessor { 17 class ChangeProcessorMock : public ChangeProcessor {
18 public: 18 public:
19 ChangeProcessorMock() : ChangeProcessor(NULL) {} 19 ChangeProcessorMock() : ChangeProcessor(NULL) {}
20 MOCK_METHOD3(ApplyChangesFromSyncModel, 20 MOCK_METHOD3(ApplyChangesFromSyncModel,
21 void(const sync_api::BaseTransaction* trans, 21 void(const sync_api::BaseTransaction* trans,
22 const sync_api::SyncManager::ChangeRecord* changes, 22 const sync_api::SyncManager::ChangeRecord* changes,
23 int change_count)); 23 int change_count));
24 MOCK_METHOD1(StartImpl, void(Profile* profile)); 24 MOCK_METHOD1(StartImpl, void(Profile* profile));
25 MOCK_METHOD0(StopImpl, void()); 25 MOCK_METHOD0(StopImpl, void());
26 MOCK_CONST_METHOD0(IsRunning, bool()); 26 MOCK_CONST_METHOD0(IsRunning, bool());
27 }; 27 };
28 28
29 } // namespace browser_sync 29 } // namespace browser_sync
30 30
31 #endif // CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ 31 #endif // CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/change_processor.cc ('k') | chrome/browser/sync/glue/extension_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698