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

Unified Diff: chrome/common/extensions/api/test_presubmit/invalid_idl_1.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_1.idl
diff --git a/build/android/tests/symbolize/b.cc b/chrome/common/extensions/api/test_presubmit/invalid_idl_1.idl
similarity index 53%
copy from build/android/tests/symbolize/b.cc
copy to chrome/common/extensions/api/test_presubmit/invalid_idl_1.idl
index db8752099aa7bfec68ee066d19b66d183e4c6904..4069632b97d4ac3fbf5101bfade0b34321c45b1b 100644
--- a/build/android/tests/symbolize/b.cc
+++ b/chrome/common/extensions/api/test_presubmit/invalid_idl_1.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 {
+ /* Unexpected "{" after keyword "dictionary". */
not at google - send to devlin 2013/09/09 16:14:07 for all of these test file, use // not /* */. how
Haojian Wu 2013/09/10 02:51:04 Done.
+ dictionary {
+ DOMString s;
+ };
+};

Powered by Google App Engine
This is Rietveld 408576698