Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Issue 10412050: Change most content::URLFetcher references to net::URLFetcher (Closed)

Created:
8 years, 7 months ago by akalin
Modified:
8 years, 7 months ago
Reviewers:
jam, wtc
CC:
chromium-reviews, MAD, nkostylev+watch_chromium.org, dhollowa+watch_chromium.org, Ilya Sherman, ncarter (slow), jar (doing other things), stevenjb+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, tim (not reviewing), dbeam+watch-ntp_chromium.org, jochen+watch-content_chromium.org, Raghu Simha, cbentzel+watch_chromium.org, mihaip-chromium-reviews_chromium.org, akalin, tfarina, Aaron Boodman, Satish, dyu1, estade+watch_chromium.org, James Su, davemoore+watch_chromium.org
Visibility:
Public.

Description

Change most content::URLFetcher references to net::URLFetcher The only remaining use of content::URLFetcher is content::URLFetcher::Create. Make content::URLFetcher not inherit from net::URLFetcher. Also make code that directly create URLFetcherImpl instead call content::URLFetcher::Create. BUG=118220 TEST= [email protected],[email protected],[email protected],[email protected] Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138443

Patch Set 1 #

Patch Set 2 : Fix indent and typo #

Total comments: 6

Patch Set 3 : Fix ChromeOS, address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -222 lines) Patch
M chrome/browser/alternate_nav_url_fetcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_download.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/captive_portal/captive_portal_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/captive_portal/captive_portal_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_to_mobile_service.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/customization_document.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/mock_url_fetchers.h View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/mock_url_fetchers.cc View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/component_updater/component_updater_service.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_setup.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_setup.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/apps_promo.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/updater/extension_downloader.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/webstore_inline_installer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/webstore_install_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/feedback/feedback_util.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/google/google_url_tracker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/google/google_url_tracker.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/importer/toolbar_importer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/intents/cws_intents_registry.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/intranet_redirect_detector.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/net/gaia/gaia_oauth_fetcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/sdch_dictionary_fetcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/device_management_service.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/policy/testing_policy_url_fetcher_factory.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/testing_policy_url_fetcher_factory.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_downloader.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/malware_details_cache.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/protocol_manager.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_fetcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spelling_service_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spelling_service_client_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/http_bridge.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/translate/translate_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/suggestions_source_discovery.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_resource/web_resource_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/net/gaia/gaia_auth_fetcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc View 20 chunks +22 lines, -22 lines 0 comments Download
M chrome/common/net/gaia/gaia_oauth_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/net/gaia/gaia_oauth_client_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/net/gaia/mock_url_fetcher_factory.h View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/net/gaia/oauth2_access_token_fetcher_unittest.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/common/net/gaia/oauth2_mint_token_fetcher_unittest.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/common/net/gaia/oauth2_mint_token_flow.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/net/gaia/oauth2_revocation_fetcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher.cc View 1 2 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/service/gaia/service_gaia_authenticator.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/geolocation/network_location_request.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/geolocation/network_location_request.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/speech/google_one_shot_remote_engine.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/speech/google_one_shot_remote_engine.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M content/common/net/url_fetcher_core.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/common/net/url_fetcher_core.cc View 8 chunks +15 lines, -13 lines 0 comments Download
M content/common/net/url_fetcher_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/net/url_fetcher_impl.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/common/net/url_fetcher_impl_unittest.cc View 10 chunks +10 lines, -10 lines 0 comments Download
M content/public/common/url_fetcher.h View 1 1 chunk +8 lines, -8 lines 0 comments Download
M content/public/common/url_fetcher_factory.h View 2 chunks +3 lines, -3 lines 0 comments Download
M content/test/test_url_fetcher_factory.h View 4 chunks +8 lines, -8 lines 0 comments Download
M content/test/test_url_fetcher_factory.cc View 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
akalin
+wtc for review All changes are mechanical.
8 years, 7 months ago (2012-05-23 00:19:27 UTC) #1
wtc
Patch set 2 LGTM. The nits I pointed out below may be in multiple files. ...
8 years, 7 months ago (2012-05-23 01:34:00 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10412050/8002
8 years, 7 months ago (2012-05-23 03:28:34 UTC) #3
commit-bot: I haz the power
Presubmit check for 10412050-8002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-23 03:29:17 UTC) #4
akalin
Committing after trybots http://codereview.chromium.org/10412050/diff/8001/chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc File chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc (right): http://codereview.chromium.org/10412050/diff/8001/chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc#newcode63 chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc:63: net::URLFetcher* (int id, On 2012/05/23 01:34:01, ...
8 years, 7 months ago (2012-05-23 04:33:09 UTC) #5
akalin
TBRing OWNERS
8 years, 7 months ago (2012-05-23 04:36:04 UTC) #6
jam
8 years, 7 months ago (2012-05-23 05:27:30 UTC) #7
content lgtm (other than content/common/net which is already reviewed)

Powered by Google App Engine
This is Rietveld 408576698