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

Unified Diff: chrome/common/extensions/api/test_presubmit/invalid_idl_7.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_7.idl
diff --git a/build/android/tests/symbolize/a.cc b/chrome/common/extensions/api/test_presubmit/invalid_idl_7.idl
similarity index 50%
copy from build/android/tests/symbolize/a.cc
copy to chrome/common/extensions/api/test_presubmit/invalid_idl_7.idl
index f0c7ca4c67f4b3c394c5592918335a7053834b5a..9e7cc8e71002357f0169c221d702866f7a13fcdf 100644
--- a/build/android/tests/symbolize/a.cc
+++ b/chrome/common/extensions/api/test_presubmit/invalid_idl_7.idl
@@ -1,14 +1,14 @@
-// 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 A {
- public:
- A();
- void Foo(int i);
- void Bar(const char* c);
-};
-
-A::A() {}
-void A::Foo(int i) {}
-void A::Bar(const char* c) {}
+// 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 {
+ /* Unexpected symbol Events after symbol interace. */
+ interace Events {
+ static void onFoo1();
+ };
+};
+
+
not at google - send to devlin 2013/09/09 16:14:07 no blank lines
Haojian Wu 2013/09/10 02:51:04 Done.

Powered by Google App Engine
This is Rietveld 408576698