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

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

Issue 10828198: Update oauth strings for extension install UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit tests Created 8 years, 4 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_install_prompt.h
diff --git a/chrome/browser/extensions/extension_install_prompt.h b/chrome/browser/extensions/extension_install_prompt.h
index 059fab7018d753a6c07beece07d4764843aa7eef..97962409f08e85d2bc44e4b8ac23e01877317add 100644
--- a/chrome/browser/extensions/extension_install_prompt.h
+++ b/chrome/browser/extensions/extension_install_prompt.h
@@ -61,7 +61,7 @@ class ExtensionInstallPrompt : public ImageLoadingTracker::Observer,
// that logic.
class Prompt {
public:
- explicit Prompt(PromptType type);
+ Prompt(Profile* profile, PromptType type);
~Prompt();
void SetPermissions(const std::vector<string16>& permissions);
@@ -137,6 +137,8 @@ class ExtensionInstallPrompt : public ImageLoadingTracker::Observer,
// Range is kMinExtensionRating to kMaxExtensionRating
double average_rating_;
int rating_count_;
+
+ Profile* profile_;
};
static const int kMinExtensionRating = 0;

Powered by Google App Engine
This is Rietveld 408576698