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

Unified Diff: chrome/browser/ui/app_list/search/webstore/webstore_result.h

Issue 448543002: Allow installing paid apps from the launcher search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: partially clang format Created 6 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/ui/app_list/search/webstore/webstore_result.h
diff --git a/chrome/browser/ui/app_list/search/webstore/webstore_result.h b/chrome/browser/ui/app_list/search/webstore/webstore_result.h
index 2ecb2bb1b234f4f2e23e72ac753dbc9dd550d535..25f32f5652523065568403bfdb5421b636f80027 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_result.h
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_result.h
@@ -34,6 +34,7 @@ class WebstoreResult : public ChromeSearchResult,
const std::string& app_id,
const std::string& localized_name,
const GURL& icon_url,
+ bool is_paid,
extensions::Manifest::Type item_type,
AppListControllerDelegate* controller);
virtual ~WebstoreResult();
@@ -41,6 +42,7 @@ class WebstoreResult : public ChromeSearchResult,
const std::string& app_id() const { return app_id_; }
const GURL& icon_url() const { return icon_url_; }
extensions::Manifest::Type item_type() const { return item_type_; }
+ bool is_paid() const { return is_paid_; }
// ChromeSearchResult overides:
virtual void Open(int event_flags) OVERRIDE;
@@ -83,6 +85,7 @@ class WebstoreResult : public ChromeSearchResult,
const std::string app_id_;
const std::string localized_name_;
const GURL icon_url_;
+ const bool is_paid_;
extensions::Manifest::Type item_type_;
gfx::ImageSkia icon_;

Powered by Google App Engine
This is Rietveld 408576698