diff options
Diffstat (limited to 'chrome/browser/extensions/crx_installer.h')
-rw-r--r-- | chrome/browser/extensions/crx_installer.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h index f35cb0c..7431d6e9 100644 --- a/chrome/browser/extensions/crx_installer.h +++ b/chrome/browser/extensions/crx_installer.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -60,16 +60,6 @@ class CrxInstaller ExtensionService* frontend, ExtensionInstallUI* client); - // This is pretty lame, but given the difficulty of connecting a particular - // ExtensionFunction to a resulting download in the download manager, it's - // currently necessary. This is the |id| of an extension to be installed - // *by the web store only* which should not get the permissions install - // prompt. This should only be called on the UI thread. - // crbug.com/54916 - // TODO(asargent): This should be removed now that SetWhitelistEntry exists - // http://crbug.com/100584 - static void SetWhitelistedInstallId(const std::string& id); - struct WhitelistEntry { WhitelistEntry(); ~WhitelistEntry(); @@ -100,13 +90,6 @@ class CrxInstaller // the return value and is responsible for deleting it. static WhitelistEntry* RemoveWhitelistEntry(const std::string& id); - // Returns whether |id| is whitelisted - only call this on the UI thread. - static bool IsIdWhitelisted(const std::string& id); - - // Returns whether |id| was found and removed (was whitelisted). This should - // only be called on the UI thread. - static bool ClearWhitelistedInstallId(const std::string& id); - // Install the crx in |source_file|. void InstallCrx(const FilePath& source_file); |