| Index: chrome/browser/shell_integration.h
|
| diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h
|
| index 7730a029341a1784afa657930d611138218a5a36..64c92f5252bde9cbf7010d295d6062cca69184bc 100644
|
| --- a/chrome/browser/shell_integration.h
|
| +++ b/chrome/browser/shell_integration.h
|
| @@ -129,9 +129,9 @@ using DefaultWebClientWorkerCallback =
|
|
|
| // Helper objects that handle checking if Chrome is the default browser
|
| // or application for a url protocol on Windows and Linux, and also setting
|
| -// it as the default. These operations are performed asynchronously on the
|
| -// file thread since registry access (on Windows) or the preference database
|
| -// (on Linux) are involved and this can be slow.
|
| +// it as the default. These operations are performed asynchronously on a
|
| +// blocking sequence since registry access (on Windows) or the preference
|
| +// database (on Linux) are involved and this can be slow.
|
| // By default, the worker will present the user with an interactive flow if
|
| // required by the platform. This can be suppressed via
|
| // set_interactive_permitted(), in which case an attempt to set Chrome as
|
| @@ -174,12 +174,14 @@ class DefaultWebClientWorker
|
| bool interactive_permitted_ = true;
|
|
|
| private:
|
| - // Checks whether Chrome is the default web client. Always called on the
|
| - // FILE thread. When |is_following_set_as_default| is true, The default state
|
| - // will be reported to UMA as the result of the set-as-default operation.
|
| + // Checks whether Chrome is the default web client. Always called on the a
|
| + // blocking sequence. When |is_following_set_as_default| is true, The default
|
| + // state will be reported to UMA as the result of the set-as-default
|
| + // operation.
|
| void CheckIsDefault(bool is_following_set_as_default);
|
|
|
| - // Sets Chrome as the default web client. Always called on the FILE thread.
|
| + // Sets Chrome as the default web client. Always called on a blocking
|
| + // sequence.
|
| void SetAsDefault();
|
|
|
| // Implementation of CheckIsDefault() and SetAsDefault() for subclasses.
|
|
|