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

Issue 11293252: Change Interceptors into URLRequestJobFactory::ProtocolHandlers. (Closed)

Created:
8 years, 1 month ago by pauljensen
Modified:
8 years ago
CC:
chromium-reviews, Aaron Boodman, cbentzel+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, mkosiba (inactive), boliu
Visibility:
Public.

Description

Convert trivial URLRequest::Interceptors and URLRequestJobFactory::Interceptor into URLRequestJobFactory::ProtocolHandlers. BUG=161524 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174174

Patch Set 1 : #

Patch Set 2 : Make thread-safe #

Patch Set 3 : Mostly convert four more Interceptors #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : sync #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : sync #

Patch Set 16 : #

Total comments: 7

Patch Set 17 : sync #

Patch Set 18 : Address comments and fix a couple Interceptor races #

Patch Set 19 : sync #

Patch Set 20 : Fix last race #

Patch Set 21 : some cleanup #

Total comments: 10

Patch Set 22 : Address erikwright's second round of comments #

Patch Set 23 : sync #

Patch Set 24 : sync #

Patch Set 25 : Fix TestShell to unregister with URLRequestFilter #

Patch Set 26 : Fix PolicyTests to unregister with URLRequestFilter #

Total comments: 7

Patch Set 27 : Address erikwright's third round of comments #

Total comments: 35

Patch Set 28 : Address mmenke's first round of comments #

Total comments: 20

Patch Set 29 : Address mmenke's second round of comments #

Patch Set 30 : Finish ConnectInterceptor redo, get tests working #

Patch Set 31 : Really get tests working #

Patch Set 32 : sync (including tedv's change) #

Total comments: 12

Patch Set 33 : Address final nits #

Patch Set 34 : Tiny cleanup #

Patch Set 35 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+762 lines, -833 lines) Patch
M android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +4 lines, -3 lines 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +3 lines, -4 lines 0 comments Download
M android_webview/browser/net/init_native_callback.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +6 lines, -2 lines 0 comments Download
M android_webview/native/android_protocol_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +5 lines, -3 lines 0 comments Download
M android_webview/native/android_protocol_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 5 chunks +27 lines, -31 lines 0 comments Download
M android_webview/native/cookie_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +2 lines, -3 lines 0 comments Download
M android_webview/native/cookie_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +1 line, -3 lines 0 comments Download
M android_webview/native/net_init_native_callback.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +8 lines, -5 lines 0 comments Download
D chrome/browser/component_updater/component_updater_interceptor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -60 lines 0 comments Download
D chrome/browser/component_updater/component_updater_interceptor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -65 lines 0 comments Download
M chrome/browser/component_updater/test/component_updater_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 9 chunks +30 lines, -41 lines 0 comments Download
M chrome/browser/extensions/api/management/management_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 8 chunks +31 lines, -30 lines 0 comments Download
D chrome/browser/extensions/autoupdate_interceptor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -51 lines 0 comments Download
D chrome/browser/extensions/autoupdate_interceptor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -100 lines 0 comments Download
M chrome/browser/extensions/extension_disabled_ui_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/extensions/user_script_listener_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/net/connect_interceptor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +9 lines, -14 lines 0 comments Download
M chrome/browser/net/connect_interceptor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 3 chunks +4 lines, -17 lines 0 comments Download
D chrome/browser/net/http_intercept_job_factory.h View 1 2 3 1 chunk +0 lines, -56 lines 0 comments Download
D chrome/browser/net/http_intercept_job_factory.cc View 1 2 3 1 chunk +0 lines, -82 lines 0 comments Download
M chrome/browser/policy/device_management_service_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +75 lines, -50 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 6 chunks +56 lines, -19 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud_interative_uitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +20 lines, -7 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 6 chunks +20 lines, -30 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/net/url_request_abort_on_end_job.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +3 lines, -6 lines 0 comments Download
M content/test/net/url_request_abort_on_end_job.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +19 lines, -12 lines 0 comments Download
A content/test/net/url_request_prepackaged_interceptor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +47 lines, -0 lines 0 comments Download
A content/test/net/url_request_prepackaged_interceptor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +158 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +2 lines, -0 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 4 chunks +5 lines, -29 lines 0 comments Download
A + net/url_request/protocol_intercept_job_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +17 lines, -14 lines 0 comments Download
A net/url_request/protocol_intercept_job_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +74 lines, -0 lines 0 comments Download
M net/url_request/url_request.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +12 lines, -1 line 0 comments Download
M net/url_request/url_request_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 4 chunks +31 lines, -2 lines 0 comments Download
M net/url_request/url_request_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +32 lines, -28 lines 0 comments Download
M net/url_request/url_request_test_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +3 lines, -10 lines 0 comments Download
M net/url_request/url_request_test_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +3 lines, -16 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +7 lines, -5 lines 0 comments Download
M webkit/tools/test_shell/test_shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
pauljensen
Erik, before I go and start converting all the simple Interceptors, can you take a ...
8 years, 1 month ago (2012-11-13 17:21:50 UTC) #1
pauljensen
I just realized this isn't thread safe. URLRequestJobManager::RegisterRequestInterceptor() (and in my code URLRequestFilter::AddHostnameProtocolHandler() ) has ...
8 years, 1 month ago (2012-11-13 17:27:07 UTC) #2
pauljensen
I think I addressed the threading issues. Very sadly the original code was not thread ...
8 years, 1 month ago (2012-11-13 19:12:18 UTC) #3
pauljensen
To accommodate rewriting other Interceptors I'm starting to think URLRequestFilter should just have a list ...
8 years, 1 month ago (2012-11-13 22:11:58 UTC) #4
erikwright (departed)
On 2012/11/13 22:11:58, pauljensen wrote: > To accommodate rewriting other Interceptors I'm starting to think ...
8 years, 1 month ago (2012-11-14 19:33:23 UTC) #5
pauljensen
erik, PTAL.
8 years, 1 month ago (2012-11-20 17:17:36 UTC) #6
erikwright (departed)
Sorry, Paul, was swamped today and yesterday. Will get to this before you are back ...
8 years, 1 month ago (2012-11-21 22:03:36 UTC) #7
pauljensen
On 2012/11/21 22:03:36, erikwright wrote: > Sorry, Paul, was swamped today and yesterday. > > ...
8 years ago (2012-11-26 13:56:38 UTC) #8
erikwright (departed)
First comments. I haven't looked at all the individual conversions yet. https://codereview.chromium.org/11293252/diff/15072/net/url_request/protocol_intercept_job_factory.cc File net/url_request/protocol_intercept_job_factory.cc (right): ...
8 years ago (2012-11-27 05:54:05 UTC) #9
pauljensen
Erik, PTAL. https://codereview.chromium.org/11293252/diff/15072/net/url_request/protocol_intercept_job_factory.cc File net/url_request/protocol_intercept_job_factory.cc (right): https://codereview.chromium.org/11293252/diff/15072/net/url_request/protocol_intercept_job_factory.cc#newcode16 net/url_request/protocol_intercept_job_factory.cc:16: const char* kHttpScheme = "http"; On 2012/11/27 ...
8 years ago (2012-11-30 21:02:34 UTC) #10
pauljensen
Erik, ping.
8 years ago (2012-12-06 14:18:07 UTC) #11
erikwright (departed)
All looking pretty good. Still confused about one bit. We can chat by IM or ...
8 years ago (2012-12-06 15:26:28 UTC) #12
pauljensen
Erik, PTAL. https://codereview.chromium.org/11293252/diff/22109/chrome/browser/component_updater/component_updater_interceptor.cc File chrome/browser/component_updater/component_updater_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/22109/chrome/browser/component_updater/component_updater_interceptor.cc#newcode19 chrome/browser/component_updater/component_updater_interceptor.cc:19: Delegate() : hit_count_(0) {} On 2012/12/06 15:26:28, ...
8 years ago (2012-12-07 18:47:42 UTC) #13
erikwright (departed)
LG. Clearly you will be needing some other reviewers. willchan will care about the high-level ...
8 years ago (2012-12-07 20:12:05 UTC) #14
pauljensen
I addressed Erik's comments. Matt and Will, PTAL. Will, if you just want to do ...
8 years ago (2012-12-09 23:14:12 UTC) #15
mmenke
https://codereview.chromium.org/11293252/diff/46001/android_webview/native/android_protocol_handler.cc File android_webview/native/android_protocol_handler.cc (right): https://codereview.chromium.org/11293252/diff/46001/android_webview/native/android_protocol_handler.cc#newcode231 android_webview/native/android_protocol_handler.cc:231: scoped_ptr<net::URLRequestJobFactory> RegisterAndroidProtocolsOnIOThread( Since we're creating a new factory, I ...
8 years ago (2012-12-11 17:22:38 UTC) #16
willchan no longer on Chromium
https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc File chrome/browser/net/connect_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc#newcode42 chrome/browser/net/connect_interceptor.cc:42: net::URLRequestJob* ConnectInterceptor::MaybeCreateJob( No, this ConnectInterceptor is all wrong :) ...
8 years ago (2012-12-11 19:14:37 UTC) #17
mmenke
https://codereview.chromium.org/11293252/diff/46001/chrome/browser/component_updater/component_updater_interceptor.h File chrome/browser/component_updater/component_updater_interceptor.h (left): https://codereview.chromium.org/11293252/diff/46001/chrome/browser/component_updater/component_updater_interceptor.h#oldcode3 chrome/browser/component_updater/component_updater_interceptor.h:3: // found in the LICENSE file. On 2012/12/11 17:22:38, ...
8 years ago (2012-12-11 19:18:25 UTC) #18
willchan no longer on Chromium
https://codereview.chromium.org/11293252/diff/46001/chrome/browser/extensions/autoupdate_interceptor.h File chrome/browser/extensions/autoupdate_interceptor.h (left): https://codereview.chromium.org/11293252/diff/46001/chrome/browser/extensions/autoupdate_interceptor.h#oldcode1 chrome/browser/extensions/autoupdate_interceptor.h:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
8 years ago (2012-12-11 19:23:34 UTC) #19
pauljensen
I addressed mmenke's first round of comments. https://codereview.chromium.org/11293252/diff/46001/chrome/browser/component_updater/component_updater_interceptor.h File chrome/browser/component_updater/component_updater_interceptor.h (left): https://codereview.chromium.org/11293252/diff/46001/chrome/browser/component_updater/component_updater_interceptor.h#oldcode3 chrome/browser/component_updater/component_updater_interceptor.h:3: // found ...
8 years ago (2012-12-11 21:22:55 UTC) #20
pauljensen
https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc File chrome/browser/net/connect_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc#newcode42 chrome/browser/net/connect_interceptor.cc:42: net::URLRequestJob* ConnectInterceptor::MaybeCreateJob( On 2012/12/11 19:14:38, willchan wrote: > No, ...
8 years ago (2012-12-11 22:28:14 UTC) #21
mmenke
Sorry, forgot to send this out yesterday. https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc File chrome/browser/net/connect_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc#newcode42 chrome/browser/net/connect_interceptor.cc:42: net::URLRequestJob* ConnectInterceptor::MaybeCreateJob( ...
8 years ago (2012-12-13 16:12:04 UTC) #22
pauljensen
https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc File chrome/browser/net/connect_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc#newcode42 chrome/browser/net/connect_interceptor.cc:42: net::URLRequestJob* ConnectInterceptor::MaybeCreateJob( On 2012/12/13 16:12:04, Matt Menke wrote: > ...
8 years ago (2012-12-13 17:53:29 UTC) #23
willchan no longer on Chromium
https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc File chrome/browser/net/connect_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc#newcode42 chrome/browser/net/connect_interceptor.cc:42: net::URLRequestJob* ConnectInterceptor::MaybeCreateJob( On 2012/12/13 17:53:30, pauljensen wrote: > On ...
8 years ago (2012-12-13 17:59:53 UTC) #24
pauljensen
https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc File chrome/browser/net/connect_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/46001/chrome/browser/net/connect_interceptor.cc#newcode42 chrome/browser/net/connect_interceptor.cc:42: net::URLRequestJob* ConnectInterceptor::MaybeCreateJob( On 2012/12/13 17:59:53, willchan wrote: > On ...
8 years ago (2012-12-13 18:21:54 UTC) #25
mmenke
On 2012/12/13 18:21:54, pauljensen wrote: > If I move ConnectionInterceptor into the ChromeNetworkDelegate in this ...
8 years ago (2012-12-13 18:37:10 UTC) #26
pauljensen
I've addressed all comments. PTAL. https://codereview.chromium.org/11293252/diff/55002/net/url_request/url_request_filter.cc File net/url_request/url_request_filter.cc (right): https://codereview.chromium.org/11293252/diff/55002/net/url_request/url_request_filter.cc#newcode27 net/url_request/url_request_filter.cc:27: URLRequestFilter::~URLRequestFilter() {} On 2012/12/13 ...
8 years ago (2012-12-17 01:38:35 UTC) #27
pauljensen
I couple responses to some past comments. https://codereview.chromium.org/11293252/diff/46001/content/test/net/url_request_prepackaged_interceptor.cc File content/test/net/url_request_prepackaged_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/46001/content/test/net/url_request_prepackaged_interceptor.cc#newcode92 content/test/net/url_request_prepackaged_interceptor.cc:92: EXPECT_TRUE(file_util::ReadFileToString(response, &contents)); ...
8 years ago (2012-12-17 16:26:49 UTC) #28
mmenke
LGTM. Just nits. https://codereview.chromium.org/11293252/diff/46001/content/test/net/url_request_prepackaged_interceptor.cc File content/test/net/url_request_prepackaged_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/46001/content/test/net/url_request_prepackaged_interceptor.cc#newcode92 content/test/net/url_request_prepackaged_interceptor.cc:92: EXPECT_TRUE(file_util::ReadFileToString(response, &contents)); On 2012/12/17 16:26:49, pauljensen ...
8 years ago (2012-12-18 20:32:14 UTC) #29
pauljensen
Brett, please review the chrome/, content/ and webkit/ changes. Jonathan, please review the android_webview/ changes. ...
8 years ago (2012-12-19 16:20:20 UTC) #30
mmenke
https://codereview.chromium.org/11293252/diff/46001/content/test/net/url_request_prepackaged_interceptor.cc File content/test/net/url_request_prepackaged_interceptor.cc (right): https://codereview.chromium.org/11293252/diff/46001/content/test/net/url_request_prepackaged_interceptor.cc#newcode92 content/test/net/url_request_prepackaged_interceptor.cc:92: EXPECT_TRUE(file_util::ReadFileToString(response, &contents)); On 2012/12/18 20:32:15, Matt Menke wrote: > ...
8 years ago (2012-12-19 16:21:21 UTC) #31
joth
LGTM
8 years ago (2012-12-19 19:20:24 UTC) #32
brettw
owners lgtm rubberstamp
8 years ago (2012-12-19 22:10:08 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pauljensen@chromium.org/11293252/84007
8 years ago (2012-12-19 22:39:53 UTC) #34
commit-bot: I haz the power
8 years ago (2012-12-19 22:40:09 UTC) #35
Presubmit check for 11293252-84007 failed and returned exit status 1.


Running presubmit commit checks ...

** Presubmit Messages **
You might be calling functions intended only for testing from
production code.  It is OK to ignore this warning if you know what
you are doing, as the heuristics used to detect the situation are
not perfect.  The commit queue will not block on this warning.
Email joi@chromium.org if you have questions.
  android_webview/native/android_protocol_handler.cc:254
    static void SetResourceContextForTesting(JNIEnv* env, jclass /*clazz*/,

** Presubmit ERRORS **
Banned functions were used.
    content/test/net/url_request_prepackaged_interceptor.cc:61:
      New code should not use ScopedAllowIO. Post a task to the blocking
      pool or the FILE thread instead.

Presubmit checks took 4.5s to calculate.

Powered by Google App Engine
This is Rietveld 408576698