| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 namespace blink { | 5 namespace blink { |
| 6 | 6 |
| 7 // Stuff in blink:: should be renamed. | 7 // Stuff in blink:: should be renamed. |
| 8 void Foo(); | 8 void Foo(); |
| 9 | 9 |
| 10 // Stuff in nested namespaces should be renamed. | 10 // Stuff in nested namespaces should be renamed. |
| 11 namespace nested { | 11 namespace nested { |
| 12 void Foo(); | 12 void Foo(); |
| 13 } // namespace nested | 13 } // namespace nested |
| 14 | 14 |
| 15 // Stuff in blink::protocol should not be renamed (see |
| 16 // https://crbug.com/677223#c6). |
| 17 namespace protocol { |
| 18 void foo(); |
| 19 } // namespace protocol |
| 20 |
| 15 } // namespace blink | 21 } // namespace blink |
| 16 | 22 |
| 17 namespace WTF { | 23 namespace WTF { |
| 18 | 24 |
| 19 // Stuff in WTF:: should be renamed. | 25 // Stuff in WTF:: should be renamed. |
| 20 void Foo(); | 26 void Foo(); |
| 21 | 27 |
| 22 // Stuff in nested namespaces should be renamed. | 28 // Stuff in nested namespaces should be renamed. |
| 23 namespace nested { | 29 namespace nested { |
| 24 void Foo(); | 30 void Foo(); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 41 void G() { | 47 void G() { |
| 42 blink::Foo(); | 48 blink::Foo(); |
| 43 blink::nested::Foo(); | 49 blink::nested::Foo(); |
| 44 WTF::Foo(); | 50 WTF::Foo(); |
| 45 WTF::nested::Foo(); | 51 WTF::nested::Foo(); |
| 46 other::foo(); | 52 other::foo(); |
| 47 foo(); | 53 foo(); |
| 48 other::blink::foo(); | 54 other::blink::foo(); |
| 49 other::WTF::foo(); | 55 other::WTF::foo(); |
| 50 } | 56 } |
| OLD | NEW |