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

Unified Diff: chrome/browser/extensions/api/feedback_private/feedback_private_api.h

Issue 171813010: Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 1). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser_context_ Created 6 years, 10 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/api/feedback_private/feedback_private_api.h
diff --git a/chrome/browser/extensions/api/feedback_private/feedback_private_api.h b/chrome/browser/extensions/api/feedback_private/feedback_private_api.h
index 5740af5cd121916f0fb6f0f2a2605fc387b9293d..a33a4a1d6e3b3dcd1e5aa101b617b050deafbdf9 100644
--- a/chrome/browser/extensions/api/feedback_private/feedback_private_api.h
+++ b/chrome/browser/extensions/api/feedback_private/feedback_private_api.h
@@ -20,7 +20,7 @@ using extensions::api::feedback_private::SystemInformation;
class FeedbackPrivateAPI : public ProfileKeyedAPI {
public:
- explicit FeedbackPrivateAPI(Profile* profile);
+ explicit FeedbackPrivateAPI(content::BrowserContext* context);
virtual ~FeedbackPrivateAPI();
FeedbackService* GetService() const;
@@ -41,7 +41,7 @@ class FeedbackPrivateAPI : public ProfileKeyedAPI {
static const bool kServiceHasOwnInstanceInIncognito = true;
- Profile* const profile_;
+ content::BrowserContext* const browser_context_;
FeedbackService* service_;
};

Powered by Google App Engine
This is Rietveld 408576698