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

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

Issue 12578008: Move CrxFile, FileReader, ExtensionResource to src/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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
« no previous file with comments | « chrome/browser/extensions/crx_file.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('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) 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 #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/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/version.h" 14 #include "base/version.h"
15 #include "chrome/browser/extensions/crx_installer_error.h"
16 #include "chrome/browser/extensions/extension_install_prompt.h" 15 #include "chrome/browser/extensions/extension_install_prompt.h"
17 #include "chrome/browser/extensions/sandboxed_unpacker.h" 16 #include "chrome/browser/extensions/sandboxed_unpacker.h"
18 #include "chrome/browser/extensions/webstore_installer.h" 17 #include "chrome/browser/extensions/webstore_installer.h"
19 #include "chrome/common/extensions/extension.h" 18 #include "chrome/common/extensions/extension.h"
20 #include "chrome/common/extensions/manifest.h" 19 #include "chrome/common/extensions/manifest.h"
21 #include "chrome/common/web_apps.h" 20 #include "chrome/common/web_apps.h"
22 #include "sync/api/string_ordinal.h" 21 #include "sync/api/string_ordinal.h"
23 22
24 class ExtensionService; 23 class ExtensionService;
25 class ExtensionServiceTest; 24 class ExtensionServiceTest;
26 class SkBitmap; 25 class SkBitmap;
27 26
28 namespace base { 27 namespace base {
29 class SequencedTaskRunner; 28 class SequencedTaskRunner;
30 } 29 }
31 30
32 namespace extensions { 31 namespace extensions {
32 class CrxInstallerError;
33 class ExtensionUpdaterTest; 33 class ExtensionUpdaterTest;
34 class RequirementsChecker; 34 class RequirementsChecker;
35 35
36 // This class installs a crx file into a profile. 36 // This class installs a crx file into a profile.
37 // 37 //
38 // Installing a CRX is a multi-step process, including unpacking the crx, 38 // Installing a CRX is a multi-step process, including unpacking the crx,
39 // validating it, prompting the user, and installing. Since many of these 39 // validating it, prompting the user, and installing. Since many of these
40 // steps must occur on the file thread, this class contains a copy of all data 40 // steps must occur on the file thread, this class contains a copy of all data
41 // necessary to do its job. (This also minimizes external dependencies for 41 // necessary to do its job. (This also minimizes external dependencies for
42 // easier testing). 42 // easier testing).
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // Whether the update is initiated by the user from the extension settings 403 // Whether the update is initiated by the user from the extension settings
404 // page. 404 // page.
405 bool update_from_settings_page_; 405 bool update_from_settings_page_;
406 406
407 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); 407 DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
408 }; 408 };
409 409
410 } // namespace extensions 410 } // namespace extensions
411 411
412 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 412 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/crx_file.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698