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

Side by Side Diff: chrome/browser/extensions/sandboxed_extension_unpacker.h

Issue 7048007: Move scoped_temp_dir and scoped_native_library back from base/memory to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unknwn Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_
6 #define CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_temp_dir.h" 13 #include "base/scoped_temp_dir.h"
14 #include "chrome/browser/utility_process_host.h" 14 #include "chrome/browser/utility_process_host.h"
15 15
16 class DictionaryValue; 16 class DictionaryValue;
17 class Extension; 17 class Extension;
18 class ResourceDispatcherHost; 18 class ResourceDispatcherHost;
19 19
20 class SandboxedExtensionUnpackerClient 20 class SandboxedExtensionUnpackerClient
21 : public base::RefCountedThreadSafe<SandboxedExtensionUnpackerClient> { 21 : public base::RefCountedThreadSafe<SandboxedExtensionUnpackerClient> {
22 public: 22 public:
23 // temp_dir - A temporary directory containing the results of the extension 23 // temp_dir - A temporary directory containing the results of the extension
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 bool got_response_; 225 bool got_response_;
226 226
227 // The public key that was extracted from the CRX header. 227 // The public key that was extracted from the CRX header.
228 std::string public_key_; 228 std::string public_key_;
229 229
230 // Time at which unpacking started. Used to compute the time unpacking takes. 230 // Time at which unpacking started. Used to compute the time unpacking takes.
231 base::TimeTicks unpack_start_time_; 231 base::TimeTicks unpack_start_time_;
232 }; 232 };
233 233
234 #endif // CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_ 234 #endif // CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698