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

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

Issue 4727001: Split the private webstore install API into two parts.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
Index: chrome/browser/extensions/crx_installer.h
===================================================================
--- chrome/browser/extensions/crx_installer.h (revision 65457)
+++ chrome/browser/extensions/crx_installer.h (working copy)
@@ -53,6 +53,9 @@
// crbug.com/54916
static void SetWhitelistedInstallId(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);
« no previous file with comments | « no previous file | chrome/browser/extensions/crx_installer.cc » ('j') | chrome/browser/extensions/crx_installer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698