Convert env to a defaultdict in run_executable() to fix other callers of that function.
[chromium-blink-merge.git] / extensions / shell / browser / default_shell_browser_main_delegate.h
blob5f7d2affd2f18e42ef5722e87bbdb290be746afc
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
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_
6 #define EXTENSIONS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "extensions/shell/browser/shell_browser_main_delegate.h"
12 namespace extensions {
14 // A ShellBrowserMainDelegate that starts an application specified
15 // by the "--app" command line. This is used only in the browser process.
16 class DefaultShellBrowserMainDelegate : public ShellBrowserMainDelegate {
17 public:
18 DefaultShellBrowserMainDelegate();
19 virtual ~DefaultShellBrowserMainDelegate();
21 // ShellBrowserMainDelegate:
22 virtual void Start(content::BrowserContext* context) override;
23 virtual void Shutdown() override;
24 virtual DesktopController* CreateDesktopController() override;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(DefaultShellBrowserMainDelegate);
30 } // namespace extensions
32 #endif // DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_