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

Unified Diff: chrome/browser/extensions/api/input/input.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/input/input.h
diff --git a/chrome/browser/extensions/api/input/input.h b/chrome/browser/extensions/api/input/input.h
index 8e3fa1ad01e4958701f86248756896f7dc430de2..fd980eab1f9a11ebffe1de05eed312b94a9861f5 100644
--- a/chrome/browser/extensions/api/input/input.h
+++ b/chrome/browser/extensions/api/input/input.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_EXTENSIONS_API_INPUT_INPUT_H_
#include "base/compiler_specific.h"
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
+#include "extensions/browser/browser_context_keyed_api_factory.h"
#include "extensions/browser/extension_function.h"
namespace content {
@@ -109,18 +109,18 @@ class VirtualKeyboardPrivateGetKeyboardConfigFunction
virtual bool RunImpl() OVERRIDE;
};
-class InputAPI : public ProfileKeyedAPI {
+class InputAPI : public BrowserContextKeyedAPI {
public:
explicit InputAPI(content::BrowserContext* context);
virtual ~InputAPI();
- // ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<InputAPI>* GetFactoryInstance();
+ // BrowserContextKeyedAPI implementation.
+ static BrowserContextKeyedAPIFactory<InputAPI>* GetFactoryInstance();
private:
- friend class ProfileKeyedAPIFactory<InputAPI>;
+ friend class BrowserContextKeyedAPIFactory<InputAPI>;
- // ProfileKeyedAPI implementation.
+ // BrowserContextKeyedAPI implementation.
static const char* service_name() {
return "InputAPI";
}
« no previous file with comments | « chrome/browser/extensions/api/image_writer_private/operation_manager.cc ('k') | chrome/browser/extensions/api/input/input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698