| 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";
|
| }
|
|
|