| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/component_updater/component_updater_service.h" | 5 #include "chrome/browser/component_updater/component_updater_service.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 size_t ChromeConfigurator::UrlSizeLimit() { | 87 size_t ChromeConfigurator::UrlSizeLimit() { |
| 88 return 1024ul; | 88 return 1024ul; |
| 89 } | 89 } |
| 90 | 90 |
| 91 net::URLRequestContextGetter* ChromeConfigurator::RequestContext() { | 91 net::URLRequestContextGetter* ChromeConfigurator::RequestContext() { |
| 92 return url_request_getter_; | 92 return url_request_getter_; |
| 93 } | 93 } |
| 94 | 94 |
| 95 bool ChromeConfigurator::InProcess() { | 95 bool ChromeConfigurator::InProcess() { |
| 96 return out_of_process_; | 96 return !out_of_process_; |
| 97 } | 97 } |
| 98 | 98 |
| 99 ComponentUpdateService::Configurator* MakeChromeComponentUpdaterConfigurator( | 99 ComponentUpdateService::Configurator* MakeChromeComponentUpdaterConfigurator( |
| 100 const CommandLine* cmdline, net::URLRequestContextGetter* context_getter) { | 100 const CommandLine* cmdline, net::URLRequestContextGetter* context_getter) { |
| 101 return new ChromeConfigurator(cmdline, context_getter); | 101 return new ChromeConfigurator(cmdline, context_getter); |
| 102 } | 102 } |
| 103 | 103 |
| OLD | NEW |