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

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

Issue 156703006: Cleanup: Remove unneeded browser_thread.h includes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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_unpacker.h" 5 #include "chrome/browser/component_updater/component_unpacker.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/file_util.h" 11 #include "base/file_util.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/json/json_file_value_serializer.h" 13 #include "base/json/json_file_value_serializer.h"
14 #include "base/location.h"
14 #include "base/logging.h" 15 #include "base/logging.h"
15 #include "base/memory/scoped_handle.h" 16 #include "base/memory/scoped_handle.h"
16 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
17 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
18 #include "base/values.h" 19 #include "base/values.h"
19 #include "chrome/browser/component_updater/component_patcher.h" 20 #include "chrome/browser/component_updater/component_patcher.h"
20 #include "chrome/browser/component_updater/component_updater_service.h" 21 #include "chrome/browser/component_updater/component_updater_service.h"
21 #include "chrome/common/extensions/extension_constants.h" 22 #include "chrome/common/extensions/extension_constants.h"
22 #include "content/public/browser/browser_thread.h"
23 #include "crypto/secure_hash.h" 23 #include "crypto/secure_hash.h"
24 #include "crypto/signature_verifier.h" 24 #include "crypto/signature_verifier.h"
25 #include "extensions/common/crx_file.h" 25 #include "extensions/common/crx_file.h"
26 #include "third_party/zlib/google/zip.h" 26 #include "third_party/zlib/google/zip.h"
27 27
28 using crypto::SecureHash; 28 using crypto::SecureHash;
29 29
30 namespace component_updater { 30 namespace component_updater {
31 31
32 namespace { 32 namespace {
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 } 268 }
269 269
270 base::WeakPtr<ComponentUnpacker> ComponentUnpacker::GetWeakPtr() { 270 base::WeakPtr<ComponentUnpacker> ComponentUnpacker::GetWeakPtr() {
271 return ptr_factory_.GetWeakPtr(); 271 return ptr_factory_.GetWeakPtr();
272 } 272 }
273 273
274 ComponentUnpacker::~ComponentUnpacker() { 274 ComponentUnpacker::~ComponentUnpacker() {
275 } 275 }
276 276
277 } // namespace component_updater 277 } // namespace component_updater
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698