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

Side by Side Diff: chrome/test/chromedriver/net/net_util.h

Issue 11415205: [chromedriver] Implement connecting to devtools and loading a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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) 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_NET_NET_UTIL_H_
6 #define CHROME_TEST_CHROMEDRIVER_NET_NET_UTIL_H_
7
8 #include <string>
9
10 class GURL;
11 class URLRequestContextGetter;
12
13 // Synchronously fetches data from a GET HTTP request to the given URL.
14 // Returns true if response is 200 OK and sets response body to |response|.
15 bool FetchUrl(const GURL& url,
16 URLRequestContextGetter* getter,
17 std::string* response);
18
19 #endif // CHROME_TEST_CHROMEDRIVER_NET_NET_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698