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

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

Issue 2937010: Reland r52336. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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
« no previous file with comments | « chrome/browser/download/download_util.h ('k') | chrome/browser/extensions/extension_prefs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_CRX_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/ref_counted.h" 11 #include "base/ref_counted.h"
12 #include "base/task.h"
13 #include "chrome/browser/extensions/extension_install_ui.h" 12 #include "chrome/browser/extensions/extension_install_ui.h"
14 #include "chrome/browser/extensions/extensions_service.h" 13 #include "chrome/browser/extensions/extensions_service.h"
15 #include "chrome/browser/extensions/sandboxed_extension_unpacker.h" 14 #include "chrome/browser/extensions/sandboxed_extension_unpacker.h"
16 #include "chrome/common/extensions/extension.h" 15 #include "chrome/common/extensions/extension.h"
17 16
18 class SkBitmap; 17 class SkBitmap;
19 18
20 // This class installs a crx file into a profile. 19 // This class installs a crx file into a profile.
21 // 20 //
22 // Installing a CRX is a multi-step process, including unpacking the crx, 21 // Installing a CRX is a multi-step process, including unpacking the crx,
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 bool apps_require_extension_mime_type_; 203 bool apps_require_extension_mime_type_;
205 204
206 // The value of the content type header sent with the CRX. 205 // The value of the content type header sent with the CRX.
207 // Ignorred unless |require_extension_mime_type_| is true. 206 // Ignorred unless |require_extension_mime_type_| is true.
208 std::string original_mime_type_; 207 std::string original_mime_type_;
209 208
210 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); 209 DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
211 }; 210 };
212 211
213 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 212 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_util.h ('k') | chrome/browser/extensions/extension_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698