| Index: athena/extensions/athena_apps_client_base.h
|
| diff --git a/athena/extensions/chrome/athena_apps_client.h b/athena/extensions/athena_apps_client_base.h
|
| similarity index 43%
|
| copy from athena/extensions/chrome/athena_apps_client.h
|
| copy to athena/extensions/athena_apps_client_base.h
|
| index b78f831e92808ba57fafa09b73ebb17a1f397760..3a8d663086954a364d5b418a37825fdd62e6ae1c 100644
|
| --- a/athena/extensions/chrome/athena_apps_client.h
|
| +++ b/athena/extensions/athena_apps_client_base.h
|
| @@ -2,39 +2,31 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_
|
| -#define ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_
|
| +#ifndef ATHENA_EXTENSIONS_ATHENA_APPS_CLIENT_BASE_H_
|
| +#define ATHENA_EXTENSIONS_ATHENA_APPS_CLIENT_BASE_H_
|
|
|
| #include "extensions/browser/app_window/apps_client.h"
|
| #include "base/macros.h"
|
|
|
| namespace athena {
|
|
|
| -// The implementation of AppsClient for Athena.
|
| -class AthenaAppsClient : public extensions::AppsClient {
|
| +// Athena's base impl of AppsClient.
|
| +class AthenaAppsClientBase : public extensions::AppsClient {
|
| public:
|
| - AthenaAppsClient();
|
| - virtual ~AthenaAppsClient();
|
| + AthenaAppsClientBase();
|
| + virtual ~AthenaAppsClientBase();
|
|
|
| private:
|
| // extensions::AppsClient
|
| - virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts()
|
| - OVERRIDE;
|
| - virtual extensions::AppWindow* CreateAppWindow(
|
| - content::BrowserContext* context,
|
| - const extensions::Extension* extension) OVERRIDE;
|
| virtual extensions::NativeAppWindow* CreateNativeAppWindow(
|
| extensions::AppWindow* window,
|
| const extensions::AppWindow::CreateParams& params) OVERRIDE;
|
| virtual void IncrementKeepAliveCount() OVERRIDE;
|
| virtual void DecrementKeepAliveCount() OVERRIDE;
|
| - virtual void OpenDevToolsWindow(content::WebContents* web_contents,
|
| - const base::Closure& callback) OVERRIDE;
|
| - virtual bool IsCurrentChannelOlderThanDev() OVERRIDE;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(AthenaAppsClient);
|
| + DISALLOW_COPY_AND_ASSIGN(AthenaAppsClientBase);
|
| };
|
|
|
| } // namespace athena
|
|
|
| -#endif // ATHENA_EXTENSIONS_CHROME_ATHENA_APPS_CLIENT_H_
|
| +#endif // ATHENA_EXTENSIONS_ATHENA_APPS_CLIENT_BASE_H_
|
|
|