Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: extensions/test/test_extensions_client.h

Issue 2493053002: [extensions] Stop parsing webstore urls so much (Closed)
Patch Set: rdevlin review Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/shell/common/shell_extensions_client.cc ('k') | extensions/test/test_extensions_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/test_extensions_client.h
diff --git a/extensions/test/test_extensions_client.h b/extensions/test/test_extensions_client.h
index 2c91ae3a589857365c54de3f6ca0b27d8322addb..bc64e56409362a8a71235cd63da9509d85c54451 100644
--- a/extensions/test/test_extensions_client.h
+++ b/extensions/test/test_extensions_client.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "extensions/common/extensions_client.h"
+#include "url/gurl.h"
namespace extensions {
@@ -49,7 +50,7 @@ class TestExtensionsClient : public ExtensionsClient {
bool ShouldSuppressFatalErrors() const override;
void RecordDidSuppressFatalError() override;
std::string GetWebstoreBaseURL() const override;
- std::string GetWebstoreUpdateURL() const override;
+ const GURL& GetWebstoreUpdateURL() const override;
bool IsBlacklistUpdateURL(const GURL& url) const override;
std::set<base::FilePath> GetBrowserImagePaths(
const Extension* extension) override;
@@ -62,6 +63,8 @@ class TestExtensionsClient : public ExtensionsClient {
std::set<BrowserImagePathsFilter*> browser_image_filters_;
+ const GURL webstore_update_url_;
+
DISALLOW_COPY_AND_ASSIGN(TestExtensionsClient);
};
« no previous file with comments | « extensions/shell/common/shell_extensions_client.cc ('k') | extensions/test/test_extensions_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698