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

Unified Diff: sync/tools/invalidation_helper.h

Issue 1357143002: Revert of Merge duplicate code in invalidation helper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/tools/DEPS ('k') | sync/tools/invalidation_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/invalidation_helper.h
diff --git a/sync/tools/invalidation_helper.h b/sync/tools/invalidation_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..c26c6ef26ab7f19faa511000c0a8e39308475224
--- /dev/null
+++ b/sync/tools/invalidation_helper.h
@@ -0,0 +1,21 @@
+// Copyright 2014 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 SYNC_TOOLS_INVALIDATION_HELPER_H_
+#define SYNC_TOOLS_INVALIDATION_HELPER_H_
+
+#include "components/invalidation/public/invalidation_util.h"
+#include "google/cacheinvalidation/include/types.h"
+#include "sync/internal_api/public/base/model_type.h"
+
+namespace syncer {
+
+bool RealModelTypeToObjectId(ModelType model_type,
+ invalidation::ObjectId* object_id);
+
+ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet model_types);
+
+}
+
+#endif // SYNC_TOOLS_INVALIDATION_HELPER_H
« no previous file with comments | « sync/tools/DEPS ('k') | sync/tools/invalidation_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698