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

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

Issue 8725013: Improve ExtensionBrowserTest. Part of moving ExtensionService to use ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 9 years 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 | « no previous file | 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) 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_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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 217
218 // Runs on File thread. Install the unpacked extension into the profile and 218 // Runs on File thread. Install the unpacked extension into the profile and
219 // notify the frontend. 219 // notify the frontend.
220 void CompleteInstall(); 220 void CompleteInstall();
221 221
222 // Result reporting. 222 // Result reporting.
223 void ReportFailureFromFileThread(const std::string& error); 223 void ReportFailureFromFileThread(const std::string& error);
224 void ReportFailureFromUIThread(const std::string& error); 224 void ReportFailureFromUIThread(const std::string& error);
225 void ReportSuccessFromFileThread(); 225 void ReportSuccessFromFileThread();
226 void ReportSuccessFromUIThread(); 226 void ReportSuccessFromUIThread();
227 void NotifyCrxInstallComplete(); 227 void NotifyCrxInstallComplete(const Extension* extension);
228 228
229 // The file we're installing. 229 // The file we're installing.
230 FilePath source_file_; 230 FilePath source_file_;
231 231
232 // The URL the file was downloaded from. 232 // The URL the file was downloaded from.
233 GURL download_url_; 233 GURL download_url_;
234 234
235 // The directory extensions are installed to. 235 // The directory extensions are installed to.
236 FilePath install_directory_; 236 FilePath install_directory_;
237 237
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 extension_misc::CrxInstallCause install_cause_; 325 extension_misc::CrxInstallCause install_cause_;
326 326
327 // Creation flags to use for the extension. These flags will be used 327 // Creation flags to use for the extension. These flags will be used
328 // when calling Extenion::Create() by the crx installer. 328 // when calling Extenion::Create() by the crx installer.
329 int creation_flags_; 329 int creation_flags_;
330 330
331 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); 331 DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
332 }; 332 };
333 333
334 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 334 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698