Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: extensions/shell/app/shell_main_delegate.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/shell/app/paths_mac.h ('k') | extensions/shell/browser/desktop_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 5 #ifndef EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
6 #define EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 6 #define EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "content/public/app/content_main_delegate.h" 14 #include "content/public/app/content_main_delegate.h"
15 15
16 namespace content { 16 namespace content {
17 class BrowserContext;
18 class ContentBrowserClient; 17 class ContentBrowserClient;
19 class ContentClient; 18 class ContentClient;
20 class ContentRendererClient; 19 class ContentRendererClient;
21 } 20 }
22 21
23 namespace extensions { 22 namespace extensions {
24 class ShellBrowserMainDelegate;
25 23
26 class ShellMainDelegate : public content::ContentMainDelegate { 24 class ShellMainDelegate : public content::ContentMainDelegate {
27 public: 25 public:
28 ShellMainDelegate(); 26 ShellMainDelegate();
29 ~ShellMainDelegate() override; 27 ~ShellMainDelegate() override;
30 28
31 // ContentMainDelegate implementation: 29 // ContentMainDelegate implementation:
32 bool BasicStartupComplete(int* exit_code) override; 30 bool BasicStartupComplete(int* exit_code) override;
33 void PreSandboxStartup() override; 31 void PreSandboxStartup() override;
34 content::ContentBrowserClient* CreateContentBrowserClient() override; 32 content::ContentBrowserClient* CreateContentBrowserClient() override;
(...skipping 23 matching lines...) Expand all
58 std::unique_ptr<content::ContentBrowserClient> browser_client_; 56 std::unique_ptr<content::ContentBrowserClient> browser_client_;
59 std::unique_ptr<content::ContentRendererClient> renderer_client_; 57 std::unique_ptr<content::ContentRendererClient> renderer_client_;
60 std::unique_ptr<content::ContentUtilityClient> utility_client_; 58 std::unique_ptr<content::ContentUtilityClient> utility_client_;
61 59
62 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate); 60 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate);
63 }; 61 };
64 62
65 } // namespace extensions 63 } // namespace extensions
66 64
67 #endif // EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 65 #endif // EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/shell/app/paths_mac.h ('k') | extensions/shell/browser/desktop_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698