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

Side by Side Diff: net/url_request/url_request_job_manager.cc

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/url_request/url_request_job_manager.h" 5 #include "net/url_request/url_request_job_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "base/singleton.h" 10 #include "base/singleton.h"
(...skipping 15 matching lines...) Expand all
26 net::URLRequest::ProtocolFactory* factory; 26 net::URLRequest::ProtocolFactory* factory;
27 }; 27 };
28 28
29 } // namespace 29 } // namespace
30 30
31 namespace net { 31 namespace net {
32 32
33 static const SchemeToFactory kBuiltinFactories[] = { 33 static const SchemeToFactory kBuiltinFactories[] = {
34 { "http", URLRequestHttpJob::Factory }, 34 { "http", URLRequestHttpJob::Factory },
35 { "https", URLRequestHttpJob::Factory }, 35 { "https", URLRequestHttpJob::Factory },
36 { "httpsv", URLRequestHttpJob::Factory },
36 { "file", URLRequestFileJob::Factory }, 37 { "file", URLRequestFileJob::Factory },
37 { "ftp", URLRequestFtpJob::Factory }, 38 { "ftp", URLRequestFtpJob::Factory },
38 { "about", URLRequestAboutJob::Factory }, 39 { "about", URLRequestAboutJob::Factory },
39 { "data", URLRequestDataJob::Factory }, 40 { "data", URLRequestDataJob::Factory },
40 }; 41 };
41 42
42 // static 43 // static
43 URLRequestJobManager* URLRequestJobManager::GetInstance() { 44 URLRequestJobManager* URLRequestJobManager::GetInstance() {
44 return Singleton<URLRequestJobManager>::get(); 45 return Singleton<URLRequestJobManager>::get();
45 } 46 }
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 URLRequestJobManager::URLRequestJobManager() : enable_file_access_(false) { 210 URLRequestJobManager::URLRequestJobManager() : enable_file_access_(false) {
210 #ifndef NDEBUG 211 #ifndef NDEBUG
211 allowed_thread_ = 0; 212 allowed_thread_ = 0;
212 allowed_thread_initialized_ = false; 213 allowed_thread_initialized_ = false;
213 #endif 214 #endif
214 } 215 }
215 216
216 URLRequestJobManager::~URLRequestJobManager() {} 217 URLRequestJobManager::~URLRequestJobManager() {}
217 218
218 } // namespace net 219 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698