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

Side by Side Diff: chrome/browser/component_updater/component_updater_configurator.cc

Issue 16742003: Use a direct include of strings headers in chrome/browser/a*-c*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_configurator.h" 5 #include "chrome/browser/component_updater/component_updater_configurator.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
14 #include "base/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/win/windows_version.h" 15 #include "base/win/windows_version.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "chrome/common/chrome_switches.h" 17 #include "chrome/common/chrome_switches.h"
18 #include "chrome/common/omaha_query_params/omaha_query_params.h" 18 #include "chrome/common/omaha_query_params/omaha_query_params.h"
19 #include "net/url_request/url_request_context_getter.h" 19 #include "net/url_request/url_request_context_getter.h"
20 20
21 namespace { 21 namespace {
22 // Default time constants. 22 // Default time constants.
23 const int kDelayOneMinute = 60; 23 const int kDelayOneMinute = 60;
24 const int kDelayOneHour = kDelayOneMinute * 60; 24 const int kDelayOneHour = kDelayOneMinute * 60;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 default: 158 default:
159 NOTREACHED(); 159 NOTREACHED();
160 break; 160 break;
161 } 161 }
162 } 162 }
163 163
164 ComponentUpdateService::Configurator* MakeChromeComponentUpdaterConfigurator( 164 ComponentUpdateService::Configurator* MakeChromeComponentUpdaterConfigurator(
165 const CommandLine* cmdline, net::URLRequestContextGetter* context_getter) { 165 const CommandLine* cmdline, net::URLRequestContextGetter* context_getter) {
166 return new ChromeConfigurator(cmdline, context_getter); 166 return new ChromeConfigurator(cmdline, context_getter);
167 } 167 }
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/component_unpacker.cc ('k') | chrome/browser/component_updater/component_updater_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698