| Index: chrome/test/chromedriver/capabilities.h
|
| diff --git a/chrome/test/chromedriver/capabilities.h b/chrome/test/chromedriver/capabilities.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..50700354c769357b8c71b0ee75a2ed5766df1ae9
|
| --- /dev/null
|
| +++ b/chrome/test/chromedriver/capabilities.h
|
| @@ -0,0 +1,39 @@
|
| +// 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 CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_
|
| +#define CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_
|
| +
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| +#include "base/command_line.h"
|
| +#include "base/files/file_path.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| +class Status;
|
| +
|
| +struct Capabilities {
|
| + Capabilities();
|
| + ~Capabilities();
|
| +
|
| + // Return true if android package is specified.
|
| + bool IsAndroid() const;
|
| +
|
| + Status Parse(const base::DictionaryValue& desired_caps);
|
| +
|
| + std::string android_package;
|
| +
|
| + std::string log_path;
|
| + CommandLine command;
|
| + scoped_ptr<base::DictionaryValue> prefs;
|
| + scoped_ptr<base::DictionaryValue> local_state;
|
| + std::vector<std::string> extensions;
|
| +};
|
| +
|
| +#endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_H_
|
|
|