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

Unified Diff: chrome/browser/devtools/remote_debugging_server.cc

Issue 2458573004: Move debug_devtools to a buildflag_header. (Closed)
Patch Set: Merge Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/remote_debugging_server.cc
diff --git a/chrome/browser/devtools/remote_debugging_server.cc b/chrome/browser/devtools/remote_debugging_server.cc
index 1efded8c9bcd47b8679e3f84f1ee6cda7fdc73e3..74f98b1901bfad4a377dab3960480c897eaaea30 100644
--- a/chrome/browser/devtools/remote_debugging_server.cc
+++ b/chrome/browser/devtools/remote_debugging_server.cc
@@ -25,6 +25,7 @@
#include "net/base/net_errors.h"
#include "net/log/net_log_source.h"
#include "net/socket/tcp_server_socket.h"
+#include "third_party/WebKit/public/public_features.h"
#include "ui/base/resource/resource_bundle.h"
namespace {
@@ -104,7 +105,7 @@ RemoteDebuggingServer::RemoteDebuggingServer(const std::string& ip,
}
base::FilePath debug_frontend_dir;
-#if defined(DEBUG_DEVTOOLS)
+#if BUILDFLAG(DEBUG_DEVTOOLS)
PathService::Get(chrome::DIR_INSPECTOR_DEBUG, &debug_frontend_dir);
#endif
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698