Chromium Code Reviews| Index: apps/shell/browser/default_shell_browser_main_delegate.h |
| diff --git a/apps/shell/browser/default_shell_browser_main_delegate.h b/apps/shell/browser/default_shell_browser_main_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d808f11b7b086aa6470105917c22e0e0b378768b |
| --- /dev/null |
| +++ b/apps/shell/browser/default_shell_browser_main_delegate.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef APPS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_ |
| +#define APPS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_ |
| + |
| +#include "apps/shell/browser/shell_browser_main_delegate.h" |
| +#include "base/basictypes.h" |
|
James Cook
2014/05/09 15:56:00
You can use "base/macros.h"
oshima
2014/05/09 17:54:24
Done.
|
| +#include "base/compiler_specific.h" |
| + |
| +namespace apps { |
| + |
| +// A ShellBrowserMainDelegate that starts an application specified |
| +// by the "--app" command line. This is used only in the browser process. |
| +class DefaultShellBrowserMainDelegate : public ShellBrowserMainDelegate { |
| + public: |
| + DefaultShellBrowserMainDelegate(); |
| + virtual ~DefaultShellBrowserMainDelegate(); |
| + |
| + // ShellBrowserMainDelegate: |
| + virtual void Start(content::BrowserContext* context) OVERRIDE; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(DefaultShellBrowserMainDelegate); |
| +}; |
| + |
| +} // namespace apps |
| + |
| +#endif // DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_ |