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

Side by Side Diff: net/url_request/url_request_test_util.h

Issue 9368031: Expose a static configuration value for the host to use for URLRequestTestHTTP tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Respond to review comments. Created 8 years, 10 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
« no previous file with comments | « no previous file | net/url_request/url_request_test_util.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) 2012 The Chromium Authors. All rights reserved. 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 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 NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_
6 #define NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <stdlib.h> 9 #include <stdlib.h>
10 10
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // OnBeforeURLRequest is always called before OnBeforeSendHeaders). 235 // OnBeforeURLRequest is always called before OnBeforeSendHeaders).
236 // This bit-set indicates for each request id (key) what events may be sent 236 // This bit-set indicates for each request id (key) what events may be sent
237 // next. 237 // next.
238 std::map<int, int> next_states_; 238 std::map<int, int> next_states_;
239 239
240 // A log that records for each request id (key) the order in which On... 240 // A log that records for each request id (key) the order in which On...
241 // functions were called. 241 // functions were called.
242 std::map<int, std::string> event_order_; 242 std::map<int, std::string> event_order_;
243 }; 243 };
244 244
245 void set_url_request_test_http_host(const std::string& host);
Paweł Hajdan Jr. 2012/02/16 15:37:24 Please make this scoped as requested in my previou
246 const std::string& url_request_test_http_host();
247
245 #endif // NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_ 248 #endif // NET_URL_REQUEST_URL_REQUEST_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698