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

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

Issue 3027041: Remove obviously unneeded forward declarations in chrome/browser/[abef]*/*.h. (Closed)
Patch Set: oops, missed one previously Created 10 years, 4 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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_temp_dir.h" 13 #include "base/scoped_temp_dir.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/utility_process_host.h" 15 #include "chrome/browser/utility_process_host.h"
16 16
17 class Extension; 17 class Extension;
18 class MessageLoop;
19 class ResourceDispatcherHost; 18 class ResourceDispatcherHost;
20 19
21 class SandboxedExtensionUnpackerClient 20 class SandboxedExtensionUnpackerClient
22 : public base::RefCountedThreadSafe<SandboxedExtensionUnpackerClient> { 21 : public base::RefCountedThreadSafe<SandboxedExtensionUnpackerClient> {
23 public: 22 public:
24 // temp_dir - A temporary directory containing the results of the extension 23 // temp_dir - A temporary directory containing the results of the extension
25 // unpacking. The client is responsible for deleting this directory. 24 // unpacking. The client is responsible for deleting this directory.
26 // 25 //
27 // extension_root - The path to the extension root inside of temp_dir. 26 // extension_root - The path to the extension root inside of temp_dir.
28 // 27 //
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 scoped_ptr<Extension> extension_; 163 scoped_ptr<Extension> extension_;
165 164
166 // Whether we've received a response from the utility process yet. 165 // Whether we've received a response from the utility process yet.
167 bool got_response_; 166 bool got_response_;
168 167
169 // The public key that was extracted from the CRX header. 168 // The public key that was extracted from the CRX header.
170 std::string public_key_; 169 std::string public_key_;
171 }; 170 };
172 171
173 #endif // CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_ 172 #endif // CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698