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

Unified Diff: apps/shell_window_geometry_cache.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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: apps/shell_window_geometry_cache.h
diff --git a/apps/shell_window_geometry_cache.h b/apps/shell_window_geometry_cache.h
index c66edd6ca341915ea33b8820d9108cb932227019..91ea132a5bb9dc148cb58b7bc238b095afd71a46 100644
--- a/apps/shell_window_geometry_cache.h
+++ b/apps/shell_window_geometry_cache.h
@@ -33,10 +33,10 @@ namespace apps {
// for IO when creating a new window, and to not cause IO on every window
// geometry change.
class ShellWindowGeometryCache
- : public ProfileKeyedService,
+ : public BrowserContextKeyedService,
public content::NotificationObserver {
public:
- class Factory : public ProfileKeyedServiceFactory {
+ class Factory : public BrowserContextKeyedServiceFactory {
public:
static ShellWindowGeometryCache* GetForContext(
content::BrowserContext* context,
@@ -49,8 +49,8 @@ class ShellWindowGeometryCache
Factory();
virtual ~Factory();
- // ProfileKeyedServiceFactory
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
virtual content::BrowserContext* GetBrowserContextToUse(
@@ -79,7 +79,7 @@ class ShellWindowGeometryCache
gfx::Rect* bounds,
ui::WindowShowState* state) const;
- // ProfileKeyedService
+ // BrowserContextKeyedService
virtual void Shutdown() OVERRIDE;
// Maximum number of windows we'll cache the geometry for per app.

Powered by Google App Engine
This is Rietveld 408576698