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

Unified Diff: chrome/common/extensions/api/test_presubmit/invalid_idl_9.idl

Issue 23512007: Prase IDL files in common/extensions/api PRESUBMIT check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/test_presubmit/invalid_idl_9.idl
diff --git a/build/android/tests/symbolize/b.cc b/chrome/common/extensions/api/test_presubmit/invalid_idl_9.idl
similarity index 55%
copy from build/android/tests/symbolize/b.cc
copy to chrome/common/extensions/api/test_presubmit/invalid_idl_9.idl
index db8752099aa7bfec68ee066d19b66d183e4c6904..ff3551bcc7e85996208f220284cc3a824d377815 100644
--- a/build/android/tests/symbolize/b.cc
+++ b/chrome/common/extensions/api/test_presubmit/invalid_idl_9.idl
@@ -1,14 +1,12 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-class B {
- public:
- B();
- void Baz(float f);
- void Qux(double d);
-};
-
-B::B() {}
-void B::Baz(float f) {}
-void B::Qux(double d) {}
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Tests an invalid IDL file.
+
+namespace test {
+ /* Interface missing name. */
+ interface {
+ static void function1();
+ };
+};

Powered by Google App Engine
This is Rietveld 408576698