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

Side by Side Diff: chrome/test/automation/browser_proxy.h

Issue 8584013: gtest / gmock shouldn't be in the shipping product (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert t_a_p change Created 9 years, 1 month 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
« no previous file with comments | « chrome/test/automation/automation_proxy.cc ('k') | chrome/test/automation/browser_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_AUTOMATION_BROWSER_PROXY_H_ 5 #ifndef CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_
6 #define CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ 6 #define CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 // Generic pattern for sending automation requests. 225 // Generic pattern for sending automation requests.
226 bool SendJSONRequest(const std::string& request, 226 bool SendJSONRequest(const std::string& request,
227 int timeout_ms, 227 int timeout_ms,
228 std::string* response) WARN_UNUSED_RESULT; 228 std::string* response) WARN_UNUSED_RESULT;
229 229
230 // Gets the load times for all tabs started from the command line. 230 // Gets the load times for all tabs started from the command line.
231 // Puts the time of the first tab to start loading into |min_start_time|, 231 // Puts the time of the first tab to start loading into |min_start_time|,
232 // the time when loading stopped into |max_stop_time| (should be similar to 232 // the time when loading stopped into |max_stop_time| (should be similar to
233 // the delay that WaitForInitialLoads waits for), and a list of all 233 // the delay that WaitForInitialLoads waits for), and a list of all
234 // finished timestamps into |stop_times|. Returns true on success. 234 // finished timestamps into |stop_times|. Returns true on success.
235 bool GetInitialLoadTimes(float* min_start_time, float* max_stop_time, 235 bool GetInitialLoadTimes(
236 std::vector<float>* stop_times); 236 int timeout_ms,
237 float* min_start_time,
238 float* max_stop_time,
239 std::vector<float>* stop_times);
237 240
238 241
239 protected: 242 protected:
240 virtual ~BrowserProxy() {} 243 virtual ~BrowserProxy() {}
241 private: 244 private:
242 DISALLOW_COPY_AND_ASSIGN(BrowserProxy); 245 DISALLOW_COPY_AND_ASSIGN(BrowserProxy);
243 }; 246 };
244 247
245 #endif // CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ 248 #endif // CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_proxy.cc ('k') | chrome/test/automation/browser_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698