• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_TEST_CHROMEDRIVER_COMMAND_H_
6 #define CHROME_TEST_CHROMEDRIVER_COMMAND_H_
7 
8 #include <string>
9 
10 #include "base/callback_forward.h"
11 #include "base/memory/scoped_ptr.h"
12 
13 namespace base {
14 class DictionaryValue;
15 class Value;
16 }
17 
18 class Status;
19 
20 typedef base::Callback<void(
21     const Status&,
22     scoped_ptr<base::Value>,
23     const std::string&)> CommandCallback;
24 
25 typedef base::Callback<void(
26     const base::DictionaryValue&,
27     const std::string&,
28     const CommandCallback&)> Command;
29 
30 #endif  // CHROME_TEST_CHROMEDRIVER_COMMAND_H_
31