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

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

Issue 9374009: Install platform apps into a separate data directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 8 years, 10 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_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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 // The temp directory extension resources were unpacked to. We own this and 289 // The temp directory extension resources were unpacked to. We own this and
290 // must delete it when we are done with it. 290 // must delete it when we are done with it.
291 FilePath temp_dir_; 291 FilePath temp_dir_;
292 292
293 // The frontend we will report results back to. 293 // The frontend we will report results back to.
294 base::WeakPtr<ExtensionService> frontend_weak_; 294 base::WeakPtr<ExtensionService> frontend_weak_;
295 295
296 // The Profile where the extension is being installed in. 296 // The Profile where the extension is being installed in.
297 Profile* profile_; 297 Profile* profile_;
298 298
299 // Path of the profile where the extension is being installed.
300 FilePath profile_path_;
301
299 // The client we will work with to do the installation. This can be NULL, in 302 // The client we will work with to do the installation. This can be NULL, in
300 // which case the install is silent. 303 // which case the install is silent.
301 // NOTE: we may be deleted on the file thread. To ensure the UI is deleted on 304 // NOTE: we may be deleted on the file thread. To ensure the UI is deleted on
302 // the main thread we don't use a scoped_ptr here. 305 // the main thread we don't use a scoped_ptr here.
303 ExtensionInstallUI* client_; 306 ExtensionInstallUI* client_;
304 307
305 // The root of the unpacked extension directory. This is a subdirectory of 308 // The root of the unpacked extension directory. This is a subdirectory of
306 // temp_dir_, so we don't have to delete it explicitly. 309 // temp_dir_, so we don't have to delete it explicitly.
307 FilePath unpacked_extension_root_; 310 FilePath unpacked_extension_root_;
308 311
(...skipping 17 matching lines...) Expand all
326 extension_misc::CrxInstallCause install_cause_; 329 extension_misc::CrxInstallCause install_cause_;
327 330
328 // Creation flags to use for the extension. These flags will be used 331 // Creation flags to use for the extension. These flags will be used
329 // when calling Extenion::Create() by the crx installer. 332 // when calling Extenion::Create() by the crx installer.
330 int creation_flags_; 333 int creation_flags_;
331 334
332 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); 335 DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
333 }; 336 };
334 337
335 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 338 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698