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

Unified Diff: content/browser/devtools/devtools_protocol_constants.h

Issue 12906011: Detect debugging target crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 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: content/browser/devtools/devtools_protocol_constants.h
diff --git a/content/browser/devtools/devtools_protocol_constants.h b/content/browser/devtools/devtools_protocol_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..79d9726eaec8dd3d69ac12835ad309e1db0d7a1c
--- /dev/null
+++ b/content/browser/devtools/devtools_protocol_constants.h
@@ -0,0 +1,45 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_
+#define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_
+
+// The constants in this file should be used instead manually constructing
+// strings passed to and from DevTools protocol.
+//
+// There is a plan to generate this file from inspector.json automatically.
+// Until then please feel free to add the constants here as needed.
+
+namespace content {
+namespace devtools {
+
+namespace Inspector {
+namespace targetCrashed {
+ extern const char kName[];
+} // targetCrashed
+} // Inspector
+
+namespace DOM {
+namespace setFileInputFiles {
+ extern const char kName[];
+ extern const char kParamFiles[];
+} // setFileInputFiles
+} // DOM
+
+namespace Page {
+namespace handleJavaScriptDialog {
+ extern const char kName[];
+ extern const char kParamAccept[];
+ extern const char kParamPromptText[];
+} // handleJavaScriptDialog
+namespace navigate {
+ extern const char kName[];
+ extern const char kParamUrl[];
+} // navigate
+} // Page
+
+} // devtools
+} // content
+
+#endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_
« no previous file with comments | « content/browser/devtools/devtools_protocol.cc ('k') | content/browser/devtools/devtools_protocol_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698