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

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

Issue 2627003003: Add --idl-methods <filepath> parameter for skipping renaming of IDL methods. (Closed)
Patch Set: Covering static methods multiple method arities. Created 3 years, 11 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 namespace internal { 296 namespace internal {
297 297
298 class InternalClass { 298 class InternalClass {
299 public: 299 public:
300 static void Method(); 300 static void Method();
301 }; 301 };
302 302
303 } // namespace internal 303 } // namespace internal
304 304
305 // Tests for --idl-methods. See also
306 // MethodsNamedAfterIdlMatcherState::SetupBlacklistForTesting method.
307 class IdlTestClass {
308 public:
309 static int IdlTestMethodNoParams(char x) { return 123; }
310 static int idlTestMethodOneParam(char x) { return 123; }
311
312 int idlTestMethodNoParams() { return 123; }
313 int IdlTestMethodNoParams(int x) { return 123; }
314
315 int IdlTestMethodOneParam() { return 123; }
316 int idlTestMethodOneParam(int x) { return 123; }
317
318 int IdlTestMethodTwoOrThreeParams() { return 123; }
319 int IdlTestMethodTwoOrThreeParams(int x) { return 123; }
320 int idlTestMethodTwoOrThreeParams(int x, int y) { return 123; }
321 int idlTestMethodTwoOrThreeParams(int x, int y, int z) { return 123; }
322
323 int idlTestMethodAnyNumberOfParams() { return 123; }
324 int idlTestMethodAnyNumberOfParams(int x) { return 123; }
325
326 int path() { return 123; }
327 int GetPath(int x) { return 123; }
328 };
329
305 } // namespace blink 330 } // namespace blink
306 331
307 // https://crbug.com/640688 - need to rewrite method name below. 332 // https://crbug.com/640688 - need to rewrite method name below.
308 void blink::ClassDeclaredInsideBlink::MethodDefinedOutsideBlink() {} 333 void blink::ClassDeclaredInsideBlink::MethodDefinedOutsideBlink() {}
309 void blink::internal::InternalClass::Method() {} 334 void blink::internal::InternalClass::Method() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698