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

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

Issue 691863002: [DevTools] Remove DevToolsHttpHandler::Stop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@httpHandler
Patch Set: Removed comment 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 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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/browser_main_parts.h" 10 #include "content/public/browser/browser_main_parts.h"
(...skipping 25 matching lines...) Expand all
36 36
37 // BrowserMainParts overrides. 37 // BrowserMainParts overrides.
38 void PreEarlyInitialization() override; 38 void PreEarlyInitialization() override;
39 void PreMainMessageLoopStart() override; 39 void PreMainMessageLoopStart() override;
40 void PostMainMessageLoopStart() override; 40 void PostMainMessageLoopStart() override;
41 void PreMainMessageLoopRun() override; 41 void PreMainMessageLoopRun() override;
42 bool MainMessageLoopRun(int* result_code) override; 42 bool MainMessageLoopRun(int* result_code) override;
43 void PostMainMessageLoopRun() override; 43 void PostMainMessageLoopRun() override;
44 44
45 DevToolsHttpHandler* devtools_http_handler() { 45 DevToolsHttpHandler* devtools_http_handler() {
46 return devtools_http_handler_; 46 return devtools_http_handler_.get();
47 } 47 }
48 48
49 ShellBrowserContext* browser_context() { return browser_context_.get(); } 49 ShellBrowserContext* browser_context() { return browser_context_.get(); }
50 ShellBrowserContext* off_the_record_browser_context() { 50 ShellBrowserContext* off_the_record_browser_context() {
51 return off_the_record_browser_context_.get(); 51 return off_the_record_browser_context_.get();
52 } 52 }
53 53
54 net::NetLog* net_log() { return net_log_.get(); } 54 net::NetLog* net_log() { return net_log_.get(); }
55 55
56 protected: 56 protected:
(...skipping 12 matching lines...) Expand all
69 scoped_ptr<breakpad::CrashDumpManager> crash_dump_manager_; 69 scoped_ptr<breakpad::CrashDumpManager> crash_dump_manager_;
70 #endif 70 #endif
71 scoped_ptr<net::NetLog> net_log_; 71 scoped_ptr<net::NetLog> net_log_;
72 scoped_ptr<ShellBrowserContext> browser_context_; 72 scoped_ptr<ShellBrowserContext> browser_context_;
73 scoped_ptr<ShellBrowserContext> off_the_record_browser_context_; 73 scoped_ptr<ShellBrowserContext> off_the_record_browser_context_;
74 74
75 // For running content_browsertests. 75 // For running content_browsertests.
76 const MainFunctionParams parameters_; 76 const MainFunctionParams parameters_;
77 bool run_message_loop_; 77 bool run_message_loop_;
78 78
79 DevToolsHttpHandler* devtools_http_handler_; 79 scoped_ptr<DevToolsHttpHandler> devtools_http_handler_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); 81 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts);
82 }; 82 };
83 83
84 } // namespace content 84 } // namespace content
85 85
86 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 86 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « content/public/browser/devtools_http_handler.h ('k') | content/shell/browser/shell_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698