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

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

Issue 1395043002: Remove ability for users to launch ephemeral apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_INSTALL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_
6 #define CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ui/gfx/image/image_skia.h" 10 #include "ui/gfx/image/image_skia.h"
(...skipping 10 matching lines...) Expand all
21 std::string extension_name, 21 std::string extension_name,
22 gfx::ImageSkia installing_icon, 22 gfx::ImageSkia installing_icon,
23 bool is_app, 23 bool is_app,
24 bool is_platform_app); 24 bool is_platform_app);
25 25
26 std::string extension_id; 26 std::string extension_id;
27 std::string extension_name; 27 std::string extension_name;
28 gfx::ImageSkia installing_icon; 28 gfx::ImageSkia installing_icon;
29 bool is_app; 29 bool is_app;
30 bool is_platform_app; 30 bool is_platform_app;
31 bool is_ephemeral;
32 }; 31 };
33 32
34 // Called at the beginning of the complete installation process, i.e., this 33 // Called at the beginning of the complete installation process, i.e., this
35 // is called before the extension download begins. 34 // is called before the extension download begins.
36 virtual void OnBeginExtensionInstall(const ExtensionInstallParams& params) {} 35 virtual void OnBeginExtensionInstall(const ExtensionInstallParams& params) {}
37 36
38 // Called when the Extension begins the download process. This typically 37 // Called when the Extension begins the download process. This typically
39 // happens right after OnBeginExtensionInstall(), unless the extension has 38 // happens right after OnBeginExtensionInstall(), unless the extension has
40 // already been downloaded. 39 // already been downloaded.
41 virtual void OnBeginExtensionDownload(const std::string& extension_id) {} 40 virtual void OnBeginExtensionDownload(const std::string& extension_id) {}
(...skipping 27 matching lines...) Expand all
69 // Notifies observers that the observed object is going away. 68 // Notifies observers that the observed object is going away.
70 virtual void OnShutdown() {} 69 virtual void OnShutdown() {}
71 70
72 protected: 71 protected:
73 virtual ~InstallObserver() {} 72 virtual ~InstallObserver() {}
74 }; 73 };
75 74
76 } // namespace extensions 75 } // namespace extensions
77 76
78 #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ 77 #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/install_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698