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

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

Issue 14301005: Android: Use a different socketname for devtools in content_browsertests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using kRemoteDebuggingSocketName Created 7 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_
6 #define CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_ 6 #define CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <jni.h> 9 #include <jni.h>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 13 matching lines...) Expand all
24 // Opens linux abstract socket to be ready for remote debugging. 24 // Opens linux abstract socket to be ready for remote debugging.
25 void Start(); 25 void Start();
26 26
27 // Closes debugging socket, stops debugging. 27 // Closes debugging socket, stops debugging.
28 void Stop(); 28 void Stop();
29 29
30 bool IsStarted() const; 30 bool IsStarted() const;
31 31
32 private: 32 private:
33 bool use_bundled_frontend_resources_; 33 bool use_bundled_frontend_resources_;
34 const std::string socket_name_; 34 std::string socket_name_;
35 content::DevToolsHttpHandler* protocol_handler_; 35 content::DevToolsHttpHandler* protocol_handler_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(DevToolsServer); 37 DISALLOW_COPY_AND_ASSIGN(DevToolsServer);
38 }; 38 };
39 39
40 bool RegisterDevToolsServer(JNIEnv* env); 40 bool RegisterDevToolsServer(JNIEnv* env);
41 41
42 #endif // CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_ 42 #endif // CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/dev_tools_server.cc » ('j') | content/public/common/content_switches.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698