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

Side by Side Diff: test/win/idl-rules/history_indexer.idl

Issue 9990006: ninja windows: Support magic idl build rules (Closed) Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: rename helper Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « test/win/idl-rules/basic-idl.gyp ('k') | test/win/idl-rules/history_indexer_user.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 import "oaidl.idl";
Nico 2012/04/05 18:02:24 these are system idl files?
scottmg 2012/04/05 18:14:26 Yes.
6 import "ocidl.idl";
7
8 [
9 object,
10 uuid(9C1100DD-51D4-4827-AE9F-3B8FAC4AED72),
11 oleautomation,
12 nonextensible,
13 pointer_default(unique)
14 ]
15 interface IChromeHistoryIndexer : IUnknown {
Nico 2012/04/05 18:02:24 Can you simplify this file a bit? (remove comments
scottmg 2012/04/05 18:14:26 Done.
16 // This is the method called by Chrome to send content and thumbnail of the
17 // page to be indexed. The html content and thumbnail for the same url
18 // are sent at different points in time. The thumbnail_format and
19 // thumbnail parameters will be NULL when sending only the content.
20 // |time| - The last time at which user visited the page. The time is in UTC.
21 // |url| - The url of the page being published for indexing.
22 // |html| - The html content of the page being published for indexing.
23 // |title| - The url of the page being published for indexing.
24 // |thumbnail_format| - The format of the thumbnail image. It is currently
25 // "image/jpeg", indicating that the thumbail is in jpeg
26 // format.
27 // |thumbnail| - This is an array of bytes that represents the thumbnail in
28 // the format specified by the "thumbnail_format" parameter.
29 HRESULT SendPageData([in] VARIANT time,
30 [in] BSTR url,
31 [in] BSTR html,
32 [in] BSTR title,
33 [in] BSTR thumbnail_format,
34 [in] VARIANT thumbnail);
35
36 // This method is called by Chrome when the users delete their history.
37 // |begin_time| - Represents the start time from which the history needs to be
38 // deleted. It is given in UTC.
39 // |end_time| - Represents the end time until when the history needs to be
40 // deleted. It is given in UTC
41 // If both begin_time and end_time are '0', full user history needs to be
42 // deleted.
43 HRESULT DeleteUserHistoryBetween([in] VARIANT begin_time,
44 [in] VARIANT end_time);
45 };
46
47
48 // This dummy library statement enforces the creation of a history_indexer.tlb.
49 // This is necessary since MSVC assumes a .idl always creates a .tlb. Otherwise,
50 // this .idl is always recompiled, giving many engs a headache.
51 [
52 uuid(A5C5B8BE-E7E5-4cb9-A13B-B063361E7B6D),
53 helpstring("Dummy library")
54 ]
55 library history_indexerLib
56 {
57 };
58
OLDNEW
« no previous file with comments | « test/win/idl-rules/basic-idl.gyp ('k') | test/win/idl-rules/history_indexer_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698