| 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 // blink::protocol namespace is blacklisted. |
| 16 namespace protocol { |
| 17 void foo(); |
| 18 } // namespace protocol |
| 19 |
| 15 } // namespace blink | 20 } // namespace blink |
| 16 | 21 |
| 17 namespace WTF { | 22 namespace WTF { |
| 18 | 23 |
| 19 // Stuff in WTF:: should be renamed. | 24 // Stuff in WTF:: should be renamed. |
| 20 void foo(); | 25 void foo(); |
| 21 | 26 |
| 22 // Stuff in nested namespaces should be renamed. | 27 // Stuff in nested namespaces should be renamed. |
| 23 namespace nested { | 28 namespace nested { |
| 24 void foo(); | 29 void foo(); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 41 void G() { | 46 void G() { |
| 42 blink::foo(); | 47 blink::foo(); |
| 43 blink::nested::foo(); | 48 blink::nested::foo(); |
| 44 WTF::foo(); | 49 WTF::foo(); |
| 45 WTF::nested::foo(); | 50 WTF::nested::foo(); |
| 46 other::foo(); | 51 other::foo(); |
| 47 foo(); | 52 foo(); |
| 48 other::blink::foo(); | 53 other::blink::foo(); |
| 49 other::WTF::foo(); | 54 other::WTF::foo(); |
| 50 } | 55 } |
| OLD | NEW |