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

Side by Side Diff: chrome/test/chromedriver/capabilities_parser.h

Issue 13185004: [chromedriver] Implement proxy capability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments & Rebase. Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 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_CAPABILITIES_PARSER_H_
6 #define CHROME_TEST_CHROMEDRIVER_CAPABILITIES_PARSER_H_
7
8 #include <string>
9
10 #include "base/callback_forward.h"
11 #include "base/files/file_path.h"
12 #include "base/values.h"
13
14 class Status;
15
16 struct Capabilities {
17 Capabilities();
18 ~Capabilities();
19
20 bool HasAndroidPackage();
21
22 std::string android_package;
23
24 base::FilePath chrome_exe;
25 std::string log_path;
26 base::ListValue args_list;
27 const base::DictionaryValue* prefs_dict;
28 const base::DictionaryValue* local_state_dict;
29 const base::ListValue* extensions_list;
30 };
31
32 Status ParseCapabilities(
33 const base::DictionaryValue& desired_caps,
34 Capabilities* capabilities,
35 const base::Callback<bool(const base::FilePath&)>& file_checker);
36
37 #endif // CHROME_TEST_CHROMEDRIVER_CAPABILITIES_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698