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

Unified Diff: content/public/test/routing_id_mangling_disabler.h

Issue 643733002: Add RoutingIDIssuer to ensure the correctness of ID to be routed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 6 years, 2 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 | « content/content_tests.gypi ('k') | content/public/test/routing_id_mangling_disabler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/routing_id_mangling_disabler.h
diff --git a/content/public/test/routing_id_mangling_disabler.h b/content/public/test/routing_id_mangling_disabler.h
new file mode 100644
index 0000000000000000000000000000000000000000..5c23174cfb86eea631a7865d79e194d813364a40
--- /dev/null
+++ b/content/public/test/routing_id_mangling_disabler.h
@@ -0,0 +1,20 @@
+// 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 CONTENT_PUBLIC_TEST_ROUTIND_ID_MANGLING_DISABLER_H_
+#define CONTENT_PUBLIC_TEST_ROUTIND_ID_MANGLING_DISABLER_H_
+
+namespace content {
+
+// Some tests unfortunately assume that the routing ID starts from
+// one. This class temporarily satisfies such an assumption.
+class RoutingIDManglingDisabler {
+ public:
+ RoutingIDManglingDisabler();
+ ~RoutingIDManglingDisabler();
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_TEST_ROUTIND_ID_MANGLING_DISABLER_H_
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/test/routing_id_mangling_disabler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698