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

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

Issue 178193030: Rename ProfileKeyedAPI to BrowserContextKeyedAPI and GetProfile to Get. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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 a33a4a1d6e3b3dcd1e5aa101b617b050deafbdf9..830e6755c24fc3013bb555f15a5a37c18591db4a 100644
--- a/chrome/browser/extensions/api/feedback_private/feedback_private_api.h
+++ b/chrome/browser/extensions/api/feedback_private/feedback_private_api.h
@@ -5,9 +5,9 @@
#ifndef CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H_
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
#include "chrome/browser/extensions/chrome_extension_function.h"
#include "chrome/common/extensions/api/feedback_private.h"
+#include "extensions/browser/browser_context_keyed_api_factory.h"
#include "ui/gfx/rect.h"
namespace extensions {
@@ -18,7 +18,7 @@ class FeedbackService;
using extensions::api::feedback_private::SystemInformation;
-class FeedbackPrivateAPI : public ProfileKeyedAPI {
+class FeedbackPrivateAPI : public BrowserContextKeyedAPI {
public:
explicit FeedbackPrivateAPI(content::BrowserContext* context);
virtual ~FeedbackPrivateAPI();
@@ -28,13 +28,14 @@ class FeedbackPrivateAPI : public ProfileKeyedAPI {
const std::string& category_tag,
const GURL& page_url);
- // ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<FeedbackPrivateAPI>* GetFactoryInstance();
+ // BrowserContextKeyedAPI implementation.
+ static BrowserContextKeyedAPIFactory<FeedbackPrivateAPI>*
+ GetFactoryInstance();
private:
- friend class ProfileKeyedAPIFactory<FeedbackPrivateAPI>;
+ friend class BrowserContextKeyedAPIFactory<FeedbackPrivateAPI>;
- // ProfileKeyedAPI implementation.
+ // BrowserContextKeyedAPI implementation.
static const char* service_name() {
return "FeedbackPrivateAPI";
}

Powered by Google App Engine
This is Rietveld 408576698