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

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

Issue 686523002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_APP_SHELL_MAIN_DELEGATE_H_
6 #define CONTENT_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 6 #define CONTENT_SHELL_APP_SHELL_MAIN_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/app/content_main_delegate.h" 10 #include "content/public/app/content_main_delegate.h"
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 ShellMainDelegate(); 23 ShellMainDelegate();
24 ~ShellMainDelegate() override; 24 ~ShellMainDelegate() override;
25 25
26 // ContentMainDelegate implementation: 26 // ContentMainDelegate implementation:
27 bool BasicStartupComplete(int* exit_code) override; 27 bool BasicStartupComplete(int* exit_code) override;
28 void PreSandboxStartup() override; 28 void PreSandboxStartup() override;
29 int RunProcess(const std::string& process_type, 29 int RunProcess(const std::string& process_type,
30 const MainFunctionParams& main_function_params) override; 30 const MainFunctionParams& main_function_params) override;
31 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 31 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
32 virtual void ZygoteForked() override; 32 void ZygoteForked() override;
33 #endif 33 #endif
34 ContentBrowserClient* CreateContentBrowserClient() override; 34 ContentBrowserClient* CreateContentBrowserClient() override;
35 ContentRendererClient* CreateContentRendererClient() override; 35 ContentRendererClient* CreateContentRendererClient() override;
36 36
37 static void InitializeResourceBundle(); 37 static void InitializeResourceBundle();
38 38
39 private: 39 private:
40 scoped_ptr<ShellContentBrowserClient> browser_client_; 40 scoped_ptr<ShellContentBrowserClient> browser_client_;
41 scoped_ptr<ShellContentRendererClient> renderer_client_; 41 scoped_ptr<ShellContentRendererClient> renderer_client_;
42 ShellContentClient content_client_; 42 ShellContentClient content_client_;
43 43
44 #if defined(OS_ANDROID) 44 #if defined(OS_ANDROID)
45 scoped_ptr<BrowserMainRunner> browser_runner_; 45 scoped_ptr<BrowserMainRunner> browser_runner_;
46 #endif 46 #endif
47 47
48 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate); 48 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate);
49 }; 49 };
50 50
51 } // namespace content 51 } // namespace content
52 52
53 #endif // CONTENT_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 53 #endif // CONTENT_SHELL_APP_SHELL_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/shell/app/shell_crash_reporter_client.h ('k') | content/shell/browser/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698