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

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

Issue 10356052: Disable off-store extension installs by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 928b96e76e0091f4ee1e5db87779882705f0946c..a8f95d0ad02a52cf878418c69fefa77cc26ef4a4 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