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

Unified Diff: headless/app/headless_shell_switches.h

Issue 2671713004: headless: Add command line flags for logging (Closed)
Patch Set: Review comments Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: headless/app/headless_shell_switches.h
diff --git a/headless/app/headless_shell_switches.h b/headless/app/headless_shell_switches.h
index 9d0a348e6e705f699dd31cf6692f3f92d4b3f343..b6a6c5803ccc53034b289f471eb4814605a1b483 100644
--- a/headless/app/headless_shell_switches.h
+++ b/headless/app/headless_shell_switches.h
@@ -5,6 +5,8 @@
#ifndef HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_
#define HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_
+#include "content/public/common/content_switches.h"
+
namespace headless {
namespace switches {
extern const char kDeterministicFetch[];
@@ -19,6 +21,13 @@ extern const char kUseGL[];
extern const char kUserDataDir[];
extern const char kVirtualTimeBudget[];
extern const char kWindowSize[];
+
+// Switches which are replicated from content.
+using ::switches::kEnableLogging;
Eric Seckler 2017/02/02 23:56:09 do we still need the logging switches here now?
+using ::switches::kHostResolverRules;
+using ::switches::kLoggingLevel;
+using ::switches::kRemoteDebuggingPort;
+
} // namespace switches
} // namespace headless

Powered by Google App Engine
This is Rietveld 408576698