From 02338d3748c080be20149745aae40caa1fb5e769 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Fri, 17 Dec 2010 01:21:54 +0000 Subject: net: Add namespace net to more files. BUG=64263 TEST=trybots Review URL: http://codereview.chromium.org/5921005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69498 0039d316-1c4b-4281-b951-d872f2087c98 --- net/url_request/url_request_job_manager.cc | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'net/url_request/url_request_job_manager.cc') diff --git a/net/url_request/url_request_job_manager.cc b/net/url_request/url_request_job_manager.cc index 45d1f82..c630ba2 100644 --- a/net/url_request/url_request_job_manager.cc +++ b/net/url_request/url_request_job_manager.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -28,13 +28,15 @@ struct SchemeToFactory { } // namespace +namespace net { + static const SchemeToFactory kBuiltinFactories[] = { - { "http", net::URLRequestHttpJob::Factory }, - { "https", net::URLRequestHttpJob::Factory }, - { "file", net::URLRequestFileJob::Factory }, - { "ftp", net::URLRequestFtpJob::Factory }, - { "about", net::URLRequestAboutJob::Factory }, - { "data", net::URLRequestDataJob::Factory }, + { "http", URLRequestHttpJob::Factory }, + { "https", URLRequestHttpJob::Factory }, + { "file", URLRequestFileJob::Factory }, + { "ftp", URLRequestFtpJob::Factory }, + { "about", URLRequestAboutJob::Factory }, + { "data", URLRequestDataJob::Factory }, }; URLRequestJobManager::URLRequestJobManager() : enable_file_access_(false) { @@ -212,3 +214,5 @@ void URLRequestJobManager::UnregisterRequestInterceptor( DCHECK(i != interceptors_.end()); interceptors_.erase(i); } + +} // namespace net -- cgit v1.1