| Index: net/url_request/url_request_throttler_unittest.cc
|
| diff --git a/net/url_request/url_request_throttler_unittest.cc b/net/url_request/url_request_throttler_unittest.cc
|
| index c291a676937795c983a2887f9ac3c3e6120ff5bb..0de6c6972ef93360435f8af90c79d8207e1dcc12 100644
|
| --- a/net/url_request/url_request_throttler_unittest.cc
|
| +++ b/net/url_request/url_request_throttler_unittest.cc
|
| @@ -203,7 +203,7 @@ const char* kHistogramNames[] = {
|
| };
|
|
|
| void URLRequestThrottlerEntryTest::SetUp() {
|
| - request_.set_load_flags(0);
|
| + request_.SetLoadFlags(0);
|
|
|
| now_ = TimeTicks::Now();
|
| entry_ = new MockURLRequestThrottlerEntry(&manager_);
|
| @@ -258,7 +258,7 @@ TEST_F(URLRequestThrottlerEntryTest, InterfaceDuringExponentialBackoff) {
|
| EXPECT_TRUE(entry_->ShouldRejectRequest(request_));
|
|
|
| // Also end-to-end test the load flags exceptions.
|
| - request_.set_load_flags(LOAD_MAYBE_USER_GESTURE);
|
| + request_.SetLoadFlags(LOAD_MAYBE_USER_GESTURE);
|
| EXPECT_FALSE(entry_->ShouldRejectRequest(request_));
|
|
|
| CalculateHistogramDeltas();
|
| @@ -395,7 +395,7 @@ class URLRequestThrottlerManagerTest : public testing::Test {
|
| : request_(GURL(), DEFAULT_PRIORITY, NULL, &context_) {}
|
|
|
| virtual void SetUp() {
|
| - request_.set_load_flags(0);
|
| + request_.SetLoadFlags(0);
|
| }
|
|
|
| // context_ must be declared before request_.
|
|
|