diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 09:31:08 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 09:31:08 +0000 |
commit | e353940295ce88232a58f3452f03825c49ed0d7b (patch) | |
tree | 76ce6760eca5430ca62ec4bbc95b344e9981d936 /chrome_frame | |
parent | 4845451c687815680b14e38b33f98d993321a9b6 (diff) | |
download | chromium_src-e353940295ce88232a58f3452f03825c49ed0d7b.zip chromium_src-e353940295ce88232a58f3452f03825c49ed0d7b.tar.gz chromium_src-e353940295ce88232a58f3452f03825c49ed0d7b.tar.bz2 |
Deprecate RegisterProtocolFactory/(Un)RegisterInterceptor.
Mark those APIs as private and friend existing uses.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7397008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92992 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/test/net/test_automation_provider.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome_frame/test/net/test_automation_provider.cc b/chrome_frame/test/net/test_automation_provider.cc index 446e041..a32074d 100644 --- a/chrome_frame/test/net/test_automation_provider.cc +++ b/chrome_frame/test/net/test_automation_provider.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -35,10 +35,10 @@ TestAutomationProvider::TestAutomationProvider( // ensure that we don't inadvarently end up handling http requests which // we don't expect. The initial chrome frame page for the network tests // issues http requests which our test factory should not handle. - net::URLRequest::RegisterProtocolFactory("http", - TestAutomationProvider::Factory); - net::URLRequest::RegisterProtocolFactory("https", - TestAutomationProvider::Factory); + net::URLRequest::Deprecated::RegisterProtocolFactory( + "http", TestAutomationProvider::Factory); + net::URLRequest::Deprecated::RegisterProtocolFactory( + "https", TestAutomationProvider::Factory); automation_resource_message_filter_ = new TestAutomationResourceMessageFilter(this); g_provider_instance_ = this; |