| Index: tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc b/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| index 040582dd79f524c57e8c3c552ad09a6058612b0a..12165b7ad788fcb05f1e2009d5e57fd1f7ee344c 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "gen/thing.h"
|
| +
|
| namespace v8 {
|
|
|
| class InterfaceOutsideOfBlink {
|
| @@ -97,6 +99,25 @@ class Testable {
|
| int m_ptr;
|
| };
|
|
|
| +namespace subname {
|
| +
|
| +class SubnameParent {
|
| + virtual void subnameMethod() {}
|
| +};
|
| +
|
| +} // namespace subname
|
| +
|
| +class SubnameChild : public subname::SubnameParent {
|
| + // This subclasses from blink::subname::SubnameParent and should be renamed.
|
| + void subnameMethod() override {}
|
| +};
|
| +
|
| +class GenChild : public blink::GenClass {
|
| + // This subclasses from the blink namespace but in the gen directory so it
|
| + // should not be renamed.
|
| + void genMethod() override {}
|
| +};
|
| +
|
| } // namespace blink
|
|
|
| // Test that overrides from outside the Blink namespace are also updated.
|
|
|