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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 10399069: Reland 137540 - Disable off-store extension installs by default. Also get rid of ExtensionService::… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months 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
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 7c36f8ca35dea044a15c9ffe705983493382ff33..d7741131da1d8dd8838b09fb5635169adb2122b8 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -168,12 +168,6 @@ class ExtensionService
// settings are stored.
static const char* kSyncExtensionSettingsDirectoryName;
- // Determine if a given extension download should be treated as if it came
- // from the gallery. Note that this is requires *both* that the download_url
- // match and that the download was referred from a gallery page.
- bool IsDownloadFromGallery(const GURL& download_url,
- const GURL& referrer_url);
-
// Returns the Extension of hosted or packaged apps, NULL otherwise.
const Extension* GetInstalledApp(const GURL& url);
@@ -373,9 +367,6 @@ class ExtensionService
// an existing extension.
virtual void SyncExtensionChangeIfNeeded(const Extension& extension) OVERRIDE;
- // The App that represents the web store.
- const Extension* GetWebStoreApp();
-
// Returns true if |url| should get extension api bindings and be permitted
// to make api calls. Note that this is independent of what extension
// permissions the given extension has been granted.
« no previous file with comments | « chrome/browser/extensions/crx_installer_browsertest.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698