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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_GLUE_SYNC_BACKEND_HOST_MOCK_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H__
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H__
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "chrome/browser/sync/glue/sync_backend_host.h" 12 #include "chrome/browser/sync/glue/sync_backend_host.h"
13 #include "chrome/browser/sync/profile_sync_test_util.h" 13 #include "chrome/browser/sync/profile_sync_test_util.h"
14 #include "content/common/notification_type.h" 14 #include "content/common/content_notification_types.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 16
17 namespace browser_sync { 17 namespace browser_sync {
18 18
19 class SyncBackendHostMock : public SyncBackendHost { 19 class SyncBackendHostMock : public SyncBackendHost {
20 public: 20 public:
21 SyncBackendHostMock(); 21 SyncBackendHostMock();
22 virtual ~SyncBackendHostMock(); 22 virtual ~SyncBackendHostMock();
23 23
24 MOCK_METHOD5(ConfigureDataTypes, 24 MOCK_METHOD5(ConfigureDataTypes,
25 void(const DataTypeController::TypeMap&, 25 void(const DataTypeController::TypeMap&,
26 const std::set<syncable::ModelType>&, 26 const std::set<syncable::ModelType>&,
27 sync_api::ConfigureReason, 27 sync_api::ConfigureReason,
28 CancelableTask*, 28 CancelableTask*,
29 bool)); 29 bool));
30 MOCK_METHOD0(StartSyncingWithServer, void()); 30 MOCK_METHOD0(StartSyncingWithServer, void());
31 }; 31 };
32 32
33 } // namespace browser_sync 33 } // namespace browser_sync
34 34
35 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H__ 35 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/glue/theme_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698