Chromium Code Reviews| 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_ |