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

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

Issue 239283008: Add global presubmit that JSON and IDL files can be parsed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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/valid_idl_basics.idl
diff --git a/chrome/common/extensions/api/test_presubmit/valid_idl_basics.idl b/chrome/common/extensions/api/test_presubmit/valid_idl_basics.idl
deleted file mode 100644
index d0071e11d36d52aae167ce46f7543f50547a784d..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/test_presubmit/valid_idl_basics.idl
+++ /dev/null
@@ -1,38 +0,0 @@
-// 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 a valid IDL file.
-
-namespace idl_basics {
- enum EnumType {
- name1,
- name2
- };
-
- dictionary MyType1 {
- DOMString a;
- };
-
- callback Callback1 = void();
- callback Callback2 = void(long x);
- callback Callback3 = void(MyType1 arg);
- callback Callback4 = void(EnumType type);
-
- interface Functions {
- static void function1();
- static void function2(long x);
- static void function3(MyType1 arg);
- static void function4(Callback1 cb);
- static void function5(Callback2 cb);
- static void function6(Callback3 cb);
- static void function7(Callback4 cb);
- };
-
- interface Events {
- static void onFoo1();
- static void onFoo2(long x);
- static void onFoo2(MyType1 arg);
- static void onFoo3(EnumType type);
- };
-};

Powered by Google App Engine
This is Rietveld 408576698