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

Side by Side Diff: content/shell/browser/shell_browser_main_parts.h

Issue 1854933002: [Android] Initialize CrashDumpManager earlier in ContentShell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 | « no previous file | content/shell/browser/shell_browser_main_parts.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 21 matching lines...) Expand all
32 32
33 namespace content { 33 namespace content {
34 34
35 class ShellBrowserMainParts : public BrowserMainParts { 35 class ShellBrowserMainParts : public BrowserMainParts {
36 public: 36 public:
37 explicit ShellBrowserMainParts(const MainFunctionParams& parameters); 37 explicit ShellBrowserMainParts(const MainFunctionParams& parameters);
38 ~ShellBrowserMainParts() override; 38 ~ShellBrowserMainParts() override;
39 39
40 // BrowserMainParts overrides. 40 // BrowserMainParts overrides.
41 void PreEarlyInitialization() override; 41 void PreEarlyInitialization() override;
42 #if defined(OS_ANDROID)
43 int PreCreateThreads() override;
44 #endif
42 void PreMainMessageLoopStart() override; 45 void PreMainMessageLoopStart() override;
43 void PostMainMessageLoopStart() override; 46 void PostMainMessageLoopStart() override;
44 void PreMainMessageLoopRun() override; 47 void PreMainMessageLoopRun() override;
45 bool MainMessageLoopRun(int* result_code) override; 48 bool MainMessageLoopRun(int* result_code) override;
46 void PostMainMessageLoopRun() override; 49 void PostMainMessageLoopRun() override;
47 void PostDestroyThreads() override; 50 void PostDestroyThreads() override;
48 51
49 devtools_http_handler::DevToolsHttpHandler* devtools_http_handler() { 52 devtools_http_handler::DevToolsHttpHandler* devtools_http_handler() {
50 return devtools_http_handler_.get(); 53 return devtools_http_handler_.get();
51 } 54 }
(...skipping 29 matching lines...) Expand all
81 bool run_message_loop_; 84 bool run_message_loop_;
82 85
83 scoped_ptr<devtools_http_handler::DevToolsHttpHandler> devtools_http_handler_; 86 scoped_ptr<devtools_http_handler::DevToolsHttpHandler> devtools_http_handler_;
84 87
85 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); 88 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts);
86 }; 89 };
87 90
88 } // namespace content 91 } // namespace content
89 92
90 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 93 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/browser/shell_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698