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

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: 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
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..9df597dbbf547bbaf98ed47d9a9b04f60483adb8
--- /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 realizess such an assumption.
nasko 2014/10/13 21:04:01 nit: s/realizess/satisfies/?
Hajime Morrita 2014/10/13 22:23:54 Done.
+class RoutingIDManglingDisabler {
+ public:
+ RoutingIDManglingDisabler();
+ ~RoutingIDManglingDisabler();
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_TEST_ROUTIND_ID_MANGLING_DISABLER_H_

Powered by Google App Engine
This is Rietveld 408576698