| Index: tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
|
| index 343e4e1a6e8c9148585132b786569764b743cad4..766145e4f422e2db9025a97b130530bfd4de7d06 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.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 {
|
| @@ -93,6 +95,25 @@ class Testable {
|
| int 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.
|
|
|