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

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

Issue 2867036: sync: Remove unused function ChromeModelHasUserCreatedNodes. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: explicit Created 10 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
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_MODEL_ASSOCIATOR_MOCK_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_MOCK_H__
6 #define CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_MOCK_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_MOCK_H__
7 7
8 #include "chrome/browser/sync/glue/model_associator.h" 8 #include "chrome/browser/sync/glue/model_associator.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 namespace browser_sync { 11 namespace browser_sync {
12 12
13 class ModelAssociatorMock : public AssociatorInterface { 13 class ModelAssociatorMock : public AssociatorInterface {
14 public: 14 public:
15 MOCK_METHOD0(AssociateModels, bool()); 15 MOCK_METHOD0(AssociateModels, bool());
16 MOCK_METHOD0(DisassociateModels, bool()); 16 MOCK_METHOD0(DisassociateModels, bool());
17 MOCK_METHOD1(SyncModelHasUserCreatedNodes, bool(bool* has_nodes)); 17 MOCK_METHOD1(SyncModelHasUserCreatedNodes, bool(bool* has_nodes));
18 MOCK_METHOD1(ChromeModelHasUserCreatedNodes, bool(bool* has_nodes));
19 MOCK_METHOD0(AbortAssociation, void()); 18 MOCK_METHOD0(AbortAssociation, void());
20 }; 19 };
21 20
22 } // namespace browser_sync 21 } // namespace browser_sync
23 22
24 #endif // CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_MOCK_H__ 23 #endif // CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_MOCK_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/model_associator.h ('k') | chrome/browser/sync/glue/password_model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698