| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_ | 5 #ifndef APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_ |
| 6 #define APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_ | 6 #define APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_ |
| 7 | 7 |
| 8 #include "apps/apps_client.h" | 8 #include "apps/apps_client.h" |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 // apps::AppsClient implementation: | 26 // apps::AppsClient implementation: |
| 27 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts() | 27 virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts() |
| 28 OVERRIDE; | 28 OVERRIDE; |
| 29 virtual bool CheckAppLaunch(content::BrowserContext* context, | 29 virtual bool CheckAppLaunch(content::BrowserContext* context, |
| 30 const extensions::Extension* extension) OVERRIDE; | 30 const extensions::Extension* extension) OVERRIDE; |
| 31 virtual AppWindow* CreateAppWindow(content::BrowserContext* context, | 31 virtual AppWindow* CreateAppWindow(content::BrowserContext* context, |
| 32 const extensions::Extension* extension) | 32 const extensions::Extension* extension) |
| 33 OVERRIDE; | 33 OVERRIDE; |
| 34 virtual void StartKeepAlive() OVERRIDE; | 34 virtual void IncrementKeepAliveCount() OVERRIDE; |
| 35 virtual void EndKeepAlive() OVERRIDE; | 35 virtual void DecrementKeepAliveCount() OVERRIDE; |
| 36 | 36 |
| 37 content::BrowserContext* browser_context_; | 37 content::BrowserContext* browser_context_; |
| 38 | 38 |
| 39 DISALLOW_COPY_AND_ASSIGN(ShellAppsClient); | 39 DISALLOW_COPY_AND_ASSIGN(ShellAppsClient); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace apps | 42 } // namespace apps |
| 43 | 43 |
| 44 #endif // APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_ | 44 #endif // APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_ |
| OLD | NEW |