| Index: chrome/browser/extensions/webstore_inline_installer.h
|
| diff --git a/chrome/browser/extensions/webstore_inline_installer.h b/chrome/browser/extensions/webstore_inline_installer.h
|
| index 96aedfbc05648a4d87630a812e0d249d2304cb02..644465480ac0200676963c88b1c5143ad4b6dda3 100644
|
| --- a/chrome/browser/extensions/webstore_inline_installer.h
|
| +++ b/chrome/browser/extensions/webstore_inline_installer.h
|
| @@ -52,6 +52,7 @@ class WebstoreInlineInstaller
|
| private:
|
| friend class base::RefCountedThreadSafe<WebstoreInlineInstaller>;
|
| friend class SafeWebstoreResponseParser;
|
| + FRIEND_TEST_ALL_PREFIXES(WebstoreInlineInstallerTest, DomainVerification);
|
|
|
| virtual ~WebstoreInlineInstaller();
|
|
|
| @@ -100,6 +101,11 @@ class WebstoreInlineInstaller
|
|
|
| void CompleteInstall(const std::string& error);
|
|
|
| + // Checks whether the install is initiated by a page in the verified site
|
| + // (which is at least a domain, but can also have a port or a path).
|
| + static bool IsRequestorURLInVerifiedSite(const GURL& requestor_url,
|
| + const std::string& verified_site);
|
| +
|
| int install_id_;
|
| std::string id_;
|
| GURL requestor_url_;
|
|
|