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

Side by Side Diff: chrome/test/webdriver/webdriver_capabilities_parser.h

Issue 9515005: [chromedriver] Add command for uploading a file to a remote ChromeDriver server, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_ 5 #ifndef CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_
6 #define CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_ 6 #define CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 Error* ParseLoadAsync(const base::Value* option); 92 Error* ParseLoadAsync(const base::Value* option);
93 Error* ParseLoggingPrefs(const base::Value* option); 93 Error* ParseLoggingPrefs(const base::Value* option);
94 Error* ParseNativeEvents(const base::Value* option); 94 Error* ParseNativeEvents(const base::Value* option);
95 Error* ParseNoProxy(const base::Value* option); 95 Error* ParseNoProxy(const base::Value* option);
96 Error* ParseProfile(const base::Value* option); 96 Error* ParseProfile(const base::Value* option);
97 Error* ParseProxy(const base::Value* option); 97 Error* ParseProxy(const base::Value* option);
98 Error* ParseProxyAutoDetect(const base::DictionaryValue* options); 98 Error* ParseProxyAutoDetect(const base::DictionaryValue* options);
99 Error* ParseProxyAutoconfigUrl(const base::DictionaryValue* options); 99 Error* ParseProxyAutoconfigUrl(const base::DictionaryValue* options);
100 Error* ParseProxyServers(const base::DictionaryValue* options); 100 Error* ParseProxyServers(const base::DictionaryValue* options);
101 Error* ParseNoWebsiteTestingDefaults(const base::Value* option); 101 Error* ParseNoWebsiteTestingDefaults(const base::Value* option);
102 // Decodes the given base64-encoded string, optionally unzips it, and
103 // writes the result to |path|.
104 // On error, false will be returned and |error_msg| will be set.
105 bool DecodeAndWriteFile(const FilePath& path,
106 const std::string& base64,
107 bool unzip,
108 std::string* error_msg);
109 102
110 // The capabilities dictionary to parse. 103 // The capabilities dictionary to parse.
111 const base::DictionaryValue* dict_; 104 const base::DictionaryValue* dict_;
112 105
113 // The root directory under which to write all files. 106 // The root directory under which to write all files.
114 const FilePath root_; 107 const FilePath root_;
115 108
116 // Reference to the logger to use. 109 // Reference to the logger to use.
117 const Logger& logger_; 110 const Logger& logger_;
118 111
119 // A pointer to the capabilities to modify while parsing. 112 // A pointer to the capabilities to modify while parsing.
120 Capabilities* caps_; 113 Capabilities* caps_;
121 114
122 DISALLOW_COPY_AND_ASSIGN(CapabilitiesParser); 115 DISALLOW_COPY_AND_ASSIGN(CapabilitiesParser);
123 }; 116 };
124 117
125 } // namespace webdriver 118 } // namespace webdriver
126 119
127 #endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_ 120 #endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/test/webdriver/commands/file_upload_command.cc ('k') | chrome/test/webdriver/webdriver_capabilities_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698