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

Unified Diff: chrome/common/extensions/api/test_presubmit/invalid_idl_5.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_5.idl
diff --git a/chrome/common/extensions/api/adview.json b/chrome/common/extensions/api/test_presubmit/invalid_idl_5.idl
similarity index 57%
copy from chrome/common/extensions/api/adview.json
copy to chrome/common/extensions/api/test_presubmit/invalid_idl_5.idl
index 68d88022b603a481345a9ccbec52881b58f1be84..c2b16525575ebb5ec03fcb72916d0a5baaa62942 100644
--- a/chrome/common/extensions/api/adview.json
+++ b/chrome/common/extensions/api/test_presubmit/invalid_idl_5.idl
@@ -1,12 +1,10 @@
-// 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.
-
-[
- {
- "namespace": "adview",
- "description": "none",
- "nodoc": true
- }
-]
-
+// 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 "(". */
+ callback Callback1 = void(;
+};

Powered by Google App Engine
This is Rietveld 408576698