| Index: chrome/app/google_update_client.h
|
| ===================================================================
|
| --- chrome/app/google_update_client.h (revision 5105)
|
| +++ chrome/app/google_update_client.h (working copy)
|
| @@ -41,12 +41,15 @@
|
| // not registered, autoupdates won't be performed for this client.
|
| bool Init(const wchar_t* client_guid, const wchar_t* client_dll);
|
|
|
| + // Load the application's main DLL.
|
| + // - looks up the registered version via GoogleUpdate, loads dll from version
|
| + // dir (e.g. Program Files/Google/1.0.101.0/chrome.dll). If chrome.dll is
|
| + // found in this path the version is stored in the environment block such
|
| + // that subsequent launches invoke the same dll version.
|
| + bool Load();
|
| +
|
| // Launches your app's main code and initializes Google Update services.
|
| - // - looks up the registered version via GoogleUpdate, loads dll from version
|
| - // dir (e.g. Program Files/Google/1.0.101.0/chrome.dll) and calls the
|
| - // entry_name. If chrome.dll is found in this path the version is stored
|
| - // in the environment block such that subsequent launches invoke the
|
| - // save dll version.
|
| + // - Calls the entry_name function of your application's DLL.
|
| // - instance is handle to the current instance of application
|
| // - sandbox provides information about sandbox services
|
| // - command_line contains command line parameters
|
| @@ -68,6 +71,8 @@
|
| std::wstring guid_;
|
| // The name of the dll to load.
|
| std::wstring dll_;
|
| + // The handle to dll_ after it has been loaded.
|
| + HINSTANCE dll_handle_;
|
| // The current version of this client registered with GoogleUpdate.
|
| wchar_t* version_;
|
| // The location of current chrome.dll.
|
|
|