Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc

Issue 2271203004: Tweak |in_blink_namespace|, to look at ancestors *and also* at qualifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink-style-same-type-and-method-name
Patch Set: Using hasTopLevelPrefix instead of hasPrefix. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "gen/thing.h" 5 #include "gen/thing.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 8
9 class InterfaceOutsideOfBlink { 9 class InterfaceOutsideOfBlink {
10 public: 10 public:
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 }; 199 };
200 200
201 } // namespace WTF 201 } // namespace WTF
202 202
203 void F2() { 203 void F2() {
204 blink::StructInBlink b; 204 blink::StructInBlink b;
205 b.Function(); 205 b.Function();
206 WTF::StructInWTF w; 206 WTF::StructInWTF w;
207 w.Function(); 207 w.Function();
208 } 208 }
209
210 namespace blink {
211
212 class ClassDeclaredInsideBlink {
213 public:
214 static void MethodDefinedOutsideBlink();
215 };
216
217 namespace internal {
218
219 class InternalClass {
220 public:
221 static void Method();
222 };
223
224 } // namespace internal
225
226 } // namespace blink
227
228 // https://crbug.com/640688 - need to rewrite method name below.
229 void blink::ClassDeclaredInsideBlink::MethodDefinedOutsideBlink() {}
230 void blink::internal::InternalClass::Method() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698