summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_job_manager.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 01:21:54 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 01:21:54 +0000
commit02338d3748c080be20149745aae40caa1fb5e769 (patch)
treef5cb0d3a079a14d963315a51bb22507783f9dda0 /net/url_request/url_request_job_manager.cc
parentd3699727ed22ae21c597cd36f1445a19febe7353 (diff)
downloadchromium_src-02338d3748c080be20149745aae40caa1fb5e769.zip
chromium_src-02338d3748c080be20149745aae40caa1fb5e769.tar.gz
chromium_src-02338d3748c080be20149745aae40caa1fb5e769.tar.bz2
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
Diffstat (limited to 'net/url_request/url_request_job_manager.cc')
-rw-r--r--net/url_request/url_request_job_manager.cc18
1 files changed, 11 insertions, 7 deletions
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