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

Unified Diff: test/win/idl-rules/history_indexer_user.cc

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 side-by-side diff with in-line comments
Download patch
Index: test/win/idl-rules/history_indexer_user.cc
diff --git a/test/win/idl-rules/history_indexer_user.cc b/test/win/idl-rules/history_indexer_user.cc
new file mode 100644
index 0000000000000000000000000000000000000000..74def5ef83f5da38ddfb81f6183c707b7966000a
--- /dev/null
+++ b/test/win/idl-rules/history_indexer_user.cc
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 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.
+
+#include "history_indexer.h"
+
+// Use the thing in the IDL.
+int main() {
+ IChromeHistoryIndexer** indexer = 0;
+ IID fake_iid;
+ CoCreateInstance(fake_iid, NULL, CLSCTX_INPROC,
+ __uuidof(IChromeHistoryIndexer),
+ reinterpret_cast<void**>(indexer));
+ return 0;
+}
« test/win/idl-rules/history_indexer.idl ('K') | « test/win/idl-rules/history_indexer.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698