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

Side by Side Diff: chrome/browser/component_updater/ev_whitelist_component_installer.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/ev_whitelist_component_installer.h" 5 #include "chrome/browser/component_updater/ev_whitelist_component_installer.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h"
14 #include "base/path_service.h" 15 #include "base/path_service.h"
15 #include "base/version.h" 16 #include "base/version.h"
16 #include "components/component_updater/component_updater_paths.h" 17 #include "components/component_updater/component_updater_paths.h"
17 #include "components/packed_ct_ev_whitelist/packed_ct_ev_whitelist.h" 18 #include "components/packed_ct_ev_whitelist/packed_ct_ev_whitelist.h"
18 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
19 20
20 using component_updater::ComponentUpdateService; 21 using component_updater::ComponentUpdateService;
21 22
22 namespace { 23 namespace {
23 const base::FilePath::CharType kCompressedEVWhitelistFileName[] = 24 const base::FilePath::CharType kCompressedEVWhitelistFileName[] =
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 DefaultComponentInstaller* installer = 137 DefaultComponentInstaller* installer =
137 new DefaultComponentInstaller(traits.Pass()); 138 new DefaultComponentInstaller(traits.Pass());
138 installer->Register(cus, base::Closure()); 139 installer->Register(cus, base::Closure());
139 140
140 content::BrowserThread::PostAfterStartupTask( 141 content::BrowserThread::PostAfterStartupTask(
141 FROM_HERE, content::BrowserThread::GetBlockingPool(), 142 FROM_HERE, content::BrowserThread::GetBlockingPool(),
142 base::Bind(&DeleteWhitelistCopy, user_data_dir)); 143 base::Bind(&DeleteWhitelistCopy, user_data_dir));
143 } 144 }
144 145
145 } // namespace component_updater 146 } // namespace component_updater
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698