| Index: chrome/browser/external_protocol/external_protocol_handler.h
|
| diff --git a/chrome/browser/external_protocol/external_protocol_handler.h b/chrome/browser/external_protocol/external_protocol_handler.h
|
| index e70e79bbb9471d3749dc9bd68bca1fcfebd57d13..99c0f0384b6acd059c5e9e22e8234277c4f0c0f8 100644
|
| --- a/chrome/browser/external_protocol/external_protocol_handler.h
|
| +++ b/chrome/browser/external_protocol/external_protocol_handler.h
|
| @@ -14,7 +14,6 @@
|
|
|
| class GURL;
|
| class PrefRegistrySimple;
|
| -class Profile;
|
|
|
| namespace base {
|
| class DictionaryValue;
|
| @@ -35,8 +34,7 @@
|
| CreateShellWorker(
|
| const shell_integration::DefaultWebClientWorkerCallback& callback,
|
| const std::string& protocol) = 0;
|
| - virtual BlockState GetBlockState(const std::string& scheme,
|
| - Profile* profile) = 0;
|
| + virtual BlockState GetBlockState(const std::string& scheme) = 0;
|
| virtual void BlockRequest() = 0;
|
| virtual void RunExternalProtocolDialog(
|
| const GURL& url,
|
| @@ -52,12 +50,10 @@
|
| };
|
|
|
| // Returns whether we should block a given scheme.
|
| - static BlockState GetBlockState(const std::string& scheme, Profile* profile);
|
| + static BlockState GetBlockState(const std::string& scheme);
|
|
|
| // Sets whether we should block a given scheme.
|
| - static void SetBlockState(const std::string& scheme,
|
| - BlockState state,
|
| - Profile* profile);
|
| + static void SetBlockState(const std::string& scheme, BlockState state);
|
|
|
| // Checks to see if the protocol is allowed, if it is whitelisted,
|
| // the application associated with the protocol is launched on the io thread,
|
|
|