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

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

Issue 7624009: Original patch by rlarocque@chromium.org at http://codereview.chromium.org/7633077/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build pt5 Created 9 years, 4 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
« no previous file with comments | « chrome/browser/sync/engine/nigori_util.cc ('k') | chrome/browser/sync/engine/read_node_mock.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ENGINE_READ_NODE_MOCK_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_READ_NODE_MOCK_H_
7 #pragma once
8
9 #include <string>
10
11 #include "chrome/browser/sync/engine/syncapi.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_ENGINE_READ_NODE_MOCK_H_
31
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/nigori_util.cc ('k') | chrome/browser/sync/engine/read_node_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698