| 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 #include "apps/shell/browser/shell_apps_client.h" | 5 #include "apps/shell/browser/shell_apps_client.h" |
| 6 | 6 |
| 7 #include "apps/app_window.h" | 7 #include "apps/app_window.h" |
| 8 #include "apps/shell/browser/shell_app_window_delegate.h" | 8 #include "apps/shell/browser/shell_app_window_delegate.h" |
| 9 | 9 |
| 10 using content::BrowserContext; | 10 using content::BrowserContext; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 const extensions::Extension* extension) { | 26 const extensions::Extension* extension) { |
| 27 return true; | 27 return true; |
| 28 } | 28 } |
| 29 | 29 |
| 30 AppWindow* ShellAppsClient::CreateAppWindow( | 30 AppWindow* ShellAppsClient::CreateAppWindow( |
| 31 BrowserContext* context, | 31 BrowserContext* context, |
| 32 const extensions::Extension* extension) { | 32 const extensions::Extension* extension) { |
| 33 return new AppWindow(context, new ShellAppWindowDelegate, extension); | 33 return new AppWindow(context, new ShellAppWindowDelegate, extension); |
| 34 } | 34 } |
| 35 | 35 |
| 36 void ShellAppsClient::StartKeepAlive() {} | 36 void ShellAppsClient::IncrementKeepAliveCount() {} |
| 37 | 37 |
| 38 void ShellAppsClient::EndKeepAlive() {} | 38 void ShellAppsClient::DecrementKeepAliveCount() {} |
| 39 | 39 |
| 40 } // namespace apps | 40 } // namespace apps |
| OLD | NEW |