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

Side by Side Diff: content/shell/browser/shell_devtools_frontend.cc

Issue 689563002: Cleanup: Remove unneeded path_service.h includes. (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
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/test/content_test_launcher.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 #include "content/shell/browser/shell_devtools_frontend.h" 5 #include "content/shell/browser/shell_devtools_frontend.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/path_service.h"
10 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
12 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
13 #include "content/public/browser/devtools_http_handler.h" 12 #include "content/public/browser/devtools_http_handler.h"
14 #include "content/public/browser/render_frame_host.h" 13 #include "content/public/browser/render_frame_host.h"
15 #include "content/public/browser/render_view_host.h" 14 #include "content/public/browser/render_view_host.h"
16 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
17 #include "content/public/common/content_client.h" 16 #include "content/public/common/content_client.h"
18 #include "content/shell/browser/shell.h" 17 #include "content/shell/browser/shell.h"
19 #include "content/shell/browser/shell_browser_context.h" 18 #include "content/shell/browser/shell_browser_context.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 base::string16 javascript = base::UTF8ToUTF16(code); 135 base::string16 javascript = base::UTF8ToUTF16(code);
137 web_contents()->GetMainFrame()->ExecuteJavaScript(javascript); 136 web_contents()->GetMainFrame()->ExecuteJavaScript(javascript);
138 } 137 }
139 138
140 void ShellDevToolsFrontend::AgentHostClosed( 139 void ShellDevToolsFrontend::AgentHostClosed(
141 DevToolsAgentHost* agent_host, bool replaced) { 140 DevToolsAgentHost* agent_host, bool replaced) {
142 frontend_shell_->Close(); 141 frontend_shell_->Close();
143 } 142 }
144 143
145 } // namespace content 144 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/test/content_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698