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

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

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 #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/context_utils.h"
10 #include "base/android/jni_string.h" 11 #include "base/android/jni_string.h"
11 #include "base/basictypes.h" 12 #include "base/basictypes.h"
12 #include "base/bind.h" 13 #include "base/bind.h"
13 #include "base/callback.h" 14 #include "base/callback.h"
14 #include "base/command_line.h" 15 #include "base/command_line.h"
15 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
16 #include "base/files/file_path.h" 17 #include "base/files/file_path.h"
17 #include "base/logging.h" 18 #include "base/logging.h"
18 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
19 #include "base/strings/stringprintf.h" 20 #include "base/strings/stringprintf.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 jlong server, 261 jlong server,
261 jboolean enabled, 262 jboolean enabled,
262 jboolean allow_debug_permission) { 263 jboolean allow_debug_permission) {
263 DevToolsServer* devtools_server = reinterpret_cast<DevToolsServer*>(server); 264 DevToolsServer* devtools_server = reinterpret_cast<DevToolsServer*>(server);
264 if (enabled) { 265 if (enabled) {
265 devtools_server->Start(allow_debug_permission); 266 devtools_server->Start(allow_debug_permission);
266 } else { 267 } else {
267 devtools_server->Stop(); 268 devtools_server->Stop();
268 } 269 }
269 } 270 }
OLDNEW
« no previous file with comments | « chrome/browser/android/data_usage/external_data_use_observer.cc ('k') | chrome/browser/android/intent_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698