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

Side by Side Diff: plugins/update/npapi/testing/dispatch_host_test_idl.idl

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2009 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 // ========================================================================
15
16 import "oaidl.idl";
17 import "ocidl.idl";
18
19 [
20 object,
21 uuid(d5c74868-1734-44e1-bab2-187a0ad2bd37),
22 dual,
23 pointer_default(unique)
24 ]
25 interface IDispatchHostTestInterface : IDispatch {
26 [id(1)] HRESULT Random([out, retval] INT* x);
27
28 [propget] HRESULT Property([out, retval] INT* x);
29 [propput] HRESULT Property([in] INT x);
30
31 [propget] HRESULT ReadOnlyProperty([out, retval] INT* x);
32 [propput] HRESULT WriteOnlyProperty([in] INT x);
33
34 [id(2)] HRESULT AddAsMethod([in] INT a, [in] INT b, [out, retval] INT* c);
35 [id(3), propget] HRESULT AddAsProperty([in] INT a, [in] INT b,
36 [out, retval] INT* c);
37
38 // TODO(omaha): do we need to test multi-argument property putters?
39
40 [id(DISPID_VALUE)] HRESULT DidYouMeanRecursion([out, retval] IDispatch** me);
41 };
42
43 [
44 object,
45 uuid(0abeb84d-6a9c-4c5c-9394-6123c933baec),
46 dual,
47 pointer_default(unique)
48 ]
49 interface IDispatchHostTestInterface2 : IDispatch {
50 [id(DISPID_VALUE), propget] HRESULT Get([in] INT index, [out, retval] INT* x);
51 };
52
53 [
54 uuid(65530e7f-4922-49e2-a5ee-c3e172da974a),
55 ]
56 library DispatchHostTestingLib {
57 importlib("stdole2.tlb");
58
59 interface IDispatchHostTestInterface;
60 interface IDispatchHostTestInterface2;
61 };
OLDNEW
« no previous file with comments | « plugins/update/npapi/testing/dispatch_host_test.rc ('k') | plugins/update/npapi/testing/dispatch_host_test_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698