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

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

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/caps_installer_win.h" 5 #include "chrome/browser/component_updater/caps_installer_win.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/macros.h"
14 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
15 #include "base/path_service.h" 16 #include "base/path_service.h"
16 #include "base/process/launch.h" 17 #include "base/process/launch.h"
17 #include "base/threading/worker_pool.h" 18 #include "base/threading/worker_pool.h"
18 #include "base/time/time.h" 19 #include "base/time/time.h"
19 #include "chrome/common/chrome_paths.h" 20 #include "chrome/common/chrome_paths.h"
20 #include "components/component_updater/component_updater_service.h" 21 #include "components/component_updater/component_updater_service.h"
21 #include "components/component_updater/default_component_installer.h" 22 #include "components/component_updater/default_component_installer.h"
22 23
23 namespace component_updater { 24 namespace component_updater {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void RegisterCAPSComponent(ComponentUpdateService* cus) { 113 void RegisterCAPSComponent(ComponentUpdateService* cus) {
113 // The component updater takes ownership of |installer|. 114 // The component updater takes ownership of |installer|.
114 scoped_ptr<ComponentInstallerTraits> traits( 115 scoped_ptr<ComponentInstallerTraits> traits(
115 new CAPSInstallerTraits()); 116 new CAPSInstallerTraits());
116 DefaultComponentInstaller* installer = 117 DefaultComponentInstaller* installer =
117 new DefaultComponentInstaller(traits.Pass()); 118 new DefaultComponentInstaller(traits.Pass());
118 installer->Register(cus, base::Closure()); 119 installer->Register(cus, base::Closure());
119 } 120 }
120 121
121 } // namespace component_updater 122 } // namespace component_updater
OLDNEW
« no previous file with comments | « chrome/browser/command_updater.h ('k') | chrome/browser/component_updater/cld_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698