// 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 detached {
  extern const char kName[];
}  // detached
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
namespace captureScreenshot {
  extern const char kName[];
  extern const char kResponseData[];
}  // captureScreenshot
}  // Page

namespace Worker {
namespace disconnectedFromWorker {
  extern const char kName[];
}  // disconnectedFromWorker
}  // Worker

}  // devtools
}  // content

#endif  // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_