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

Side by Side Diff: chrome/browser/sync/internal_api/read_node_mock.h

Issue 10147003: [Sync] Move 'syncapi_core' and 'sync_unit_tests' targets to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 8 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_MOCK_H_
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_MOCK_H_
7 #pragma once
8
9 #include <string>
10
11 #include "chrome/browser/sync/internal_api/read_node.h"
12 #include "testing/gmock/include/gmock/gmock.h"
13
14 class ReadNodeMock : public sync_api::ReadNode {
15 public:
16 ReadNodeMock();
17 virtual ~ReadNodeMock();
18
19 MOCK_METHOD2(InitByClientTagLookup,
20 bool(syncable::ModelType model_type, const std::string& tag));
21 MOCK_CONST_METHOD0(GetAutofillProfileSpecifics,
22 const sync_pb::AutofillProfileSpecifics&());
23 MOCK_CONST_METHOD0(GetId, int64());
24 MOCK_CONST_METHOD0(GetFirstChildId, int64());
25 MOCK_CONST_METHOD0(GetFirstChild, int64());
26 MOCK_CONST_METHOD0(GetSuccessorId, int64());
27 MOCK_METHOD1(InitByIdLookup, bool(int64 id));
28 };
29
30 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698