| Index: chrome/browser/shell_integration_win.h
|
| diff --git a/chrome/browser/shell_integration_win.h b/chrome/browser/shell_integration_win.h
|
| index 3d81886fcd413aad42c34563885d70952cb7025f..8e3c46665fe82ab46098787e9d0c9556b4a5d01e 100644
|
| --- a/chrome/browser/shell_integration_win.h
|
| +++ b/chrome/browser/shell_integration_win.h
|
| @@ -57,9 +57,16 @@ base::string16 GetAppModelIdForProfile(const base::string16& app_name,
|
| // calling GetAppModelIdForProfile() with ShellUtil::GetAppId() as app_name.
|
| base::string16 GetChromiumModelIdForProfile(const base::FilePath& profile_path);
|
|
|
| -// Records the pinned state of the current executable into a histogram. Must be
|
| -// called on the IO thread.
|
| -void RecordIsPinnedToTaskbarHistogram();
|
| +// Returns the taskbar pin state of Chrome via the IsPinnedToTaskbarCallback.
|
| +// The first bool is true if the state could be calculated, and the second bool
|
| +// is true if Chrome is pinned to the taskbar.
|
| +// The ConnectionErrorCallback is called instead if something wrong happened
|
| +// with the connection to the remote process.
|
| +using ConnectionErrorCallback = base::Closure;
|
| +using IsPinnedToTaskbarCallback = base::Callback<void(bool, bool)>;
|
| +void GetIsPinnedToTaskbarState(
|
| + const ConnectionErrorCallback& on_error_callback,
|
| + const IsPinnedToTaskbarCallback& result_callback);
|
|
|
| // Migrates existing chrome taskbar pins by tagging them with correct app id.
|
| // see http://crbug.com/28104
|
|
|