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

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

Issue 9465030: Break two classes defined in json_value_serializer.cc, .h into separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/file_util.h" 10 #include "base/file_util.h"
11 #include "base/json/json_value_serializer.h" 11 #include "base/json/json_file_value_serializer.h"
12 #include "base/memory/scoped_handle.h" 12 #include "base/memory/scoped_handle.h"
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "base/stringprintf.h" 14 #include "base/stringprintf.h"
15 #include "chrome/browser/extensions/sandboxed_extension_unpacker.h" 15 #include "chrome/browser/extensions/sandboxed_extension_unpacker.h"
16 #include "chrome/browser/component_updater/component_updater_service.h" 16 #include "chrome/browser/component_updater/component_updater_service.h"
17 #include "chrome/common/extensions/extension_constants.h" 17 #include "chrome/common/extensions/extension_constants.h"
18 #include "chrome/common/zip.h" 18 #include "chrome/common/zip.h"
19 #include "crypto/secure_hash.h" 19 #include "crypto/secure_hash.h"
20 #include "crypto/signature_verifier.h" 20 #include "crypto/signature_verifier.h"
21 21
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 } 201 }
202 // Installation successful. The directory is not our concern now. 202 // Installation successful. The directory is not our concern now.
203 unpack_path_.clear(); 203 unpack_path_.clear();
204 } 204 }
205 205
206 ComponentUnpacker::~ComponentUnpacker() { 206 ComponentUnpacker::~ComponentUnpacker() {
207 if (!unpack_path_.empty()) { 207 if (!unpack_path_.empty()) {
208 file_util::Delete(unpack_path_, true); 208 file_util::Delete(unpack_path_, true);
209 } 209 }
210 } 210 }
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/component_installers_unittest.cc ('k') | chrome/browser/diagnostics/recon_diagnostics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698