summaryrefslogtreecommitdiffstats
path: root/chrome/installer/gcapi/gcapi.def
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-14 18:57:36 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-14 18:57:36 +0000
commitfbc083b99e0fbe436c87225133263de70043f146 (patch)
tree9a0e09b9a88b18506a83b1e16b0392f7754ea580 /chrome/installer/gcapi/gcapi.def
parentf7fe6ec7d7442bfaaa0c7f640fc27b561010b668 (diff)
downloadchromium_src-fbc083b99e0fbe436c87225133263de70043f146.zip
chromium_src-fbc083b99e0fbe436c87225133263de70043f146.tar.gz
chromium_src-fbc083b99e0fbe436c87225133263de70043f146.tar.bz2
Add functionality to the GCAPI to detect when Chrome was last run.
Also fix a buffer overrun while I'm here. Also, fix up the export definitions to use the more-sane .def file approach. BUG=103909,88622 TEST=Invoke the GoogleChromeDaysSinceLastRun() export on GCAPI.dll, observe that it reports the number of days since Chrome was last run. Review URL: http://codereview.chromium.org/8508060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109919 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/gcapi/gcapi.def')
-rw-r--r--chrome/installer/gcapi/gcapi.def11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/installer/gcapi/gcapi.def b/chrome/installer/gcapi/gcapi.def
new file mode 100644
index 0000000..ad7286f
--- /dev/null
+++ b/chrome/installer/gcapi/gcapi.def
@@ -0,0 +1,11 @@
+LIBRARY "gcapi_dll.dll"
+
+EXPORTS
+ ; Note that we keep the assigned ordinals for a couple of the exports
+ ; to maintain parity with the old gcapi code. LaunchGoogleChrome was
+ ; originally tagged as having an export ordinal of 0 which afaict is not
+ ; legal.
+ GoogleChromeCompatibilityCheck @8 PRIVATE
+ LaunchGoogleChrome PRIVATE
+ LaunchGoogleChromeWithDimensions @16 PRIVATE
+ GoogleChromeDaysSinceLastRun PRIVATE