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

Unified Diff: chrome/browser/sync/engine/read_node_mock.h

Issue 4683003: Sending the proto files for review to unblcok the server team Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/scoped_ptr.h ('k') | chrome/browser/sync/engine/syncapi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/read_node_mock.h
diff --git a/chrome/browser/sync/engine/read_node_mock.h b/chrome/browser/sync/engine/read_node_mock.h
new file mode 100755
index 0000000000000000000000000000000000000000..b38f6fc5a7a535157ec8b996094e8b8e5e984ac9
--- /dev/null
+++ b/chrome/browser/sync/engine/read_node_mock.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_SYNC_ENGINE_READ_NODE_MOCK_H_
+#define CHROME_BROWSER_SYNC_ENGINE_READ_NODE_MOCK_H_
+#pragma once
+
+#include "chrome/browser/sync/engine/syncapi.h"
+#include "testing/gmock/include/gmock/gmock.h"
+
+class ReadNodeMock : public sync_api::ReadNode {
+ public:
+ ReadNodeMock() { }
+ virtual ~ReadNodeMock() {}
+ MOCK_METHOD2(InitByClientTagLookup,
+ bool(syncable::ModelType model_type,
+ const std::string& tag));
+ MOCK_CONST_METHOD0(GetAutofillProfileSpecifics,
+ sync_pb::AutofillProfile2Specifics&());
+ MOCK_CONST_METHOD0(GetId, int64());
+ MOCK_CONST_METHOD0(GetFirstChildId, int64());
+ MOCK_CONST_METHOD0(GetFirstChild, int64());
+ MOCK_CONST_METHOD0(GetSuccessorId, int64());
+ MOCK_METHOD1(InitByIdLookup, bool(int64));
+};
+#endif // CHROME_BROWSER_SYNC_ENGINE_READ_NODE_MOCK_H_
« no previous file with comments | « base/scoped_ptr.h ('k') | chrome/browser/sync/engine/syncapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698