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

Side by Side Diff: chrome/browser/android/dev_tools_server.cc

Issue 16742003: Use a direct include of strings headers in chrome/browser/a*-c*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/android/crash_dump_manager.cc ('k') | chrome/browser/android/intent_helper.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 (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 #include "chrome/browser/android/dev_tools_server.h" 5 #include "chrome/browser/android/dev_tools_server.h"
6 6
7 #include <pwd.h> 7 #include <pwd.h>
8 #include <cstring> 8 #include <cstring>
9 9
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "chrome/browser/history/top_sites.h" 18 #include "chrome/browser/history/top_sites.h"
19 #include "chrome/browser/profiles/profile_manager.h" 19 #include "chrome/browser/profiles/profile_manager.h"
20 #include "chrome/common/chrome_version_info.h" 20 #include "chrome/common/chrome_version_info.h"
21 #include "content/public/browser/android/devtools_auth.h" 21 #include "content/public/browser/android/devtools_auth.h"
22 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
23 #include "content/public/browser/devtools_http_handler.h" 23 #include "content/public/browser/devtools_http_handler.h"
24 #include "content/public/browser/devtools_http_handler_delegate.h" 24 #include "content/public/browser/devtools_http_handler_delegate.h"
25 #include "content/public/common/content_switches.h" 25 #include "content/public/common/content_switches.h"
26 #include "grit/devtools_discovery_page_resources.h" 26 #include "grit/devtools_discovery_page_resources.h"
27 #include "jni/DevToolsServer_jni.h" 27 #include "jni/DevToolsServer_jni.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 jobject obj, 199 jobject obj,
200 jint server, 200 jint server,
201 jboolean enabled) { 201 jboolean enabled) {
202 DevToolsServer* devtools_server = reinterpret_cast<DevToolsServer*>(server); 202 DevToolsServer* devtools_server = reinterpret_cast<DevToolsServer*>(server);
203 if (enabled) { 203 if (enabled) {
204 devtools_server->Start(); 204 devtools_server->Start();
205 } else { 205 } else {
206 devtools_server->Stop(); 206 devtools_server->Stop();
207 } 207 }
208 } 208 }
OLDNEW
« no previous file with comments | « chrome/browser/android/crash_dump_manager.cc ('k') | chrome/browser/android/intent_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698