| 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.
|
|
|