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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review, Devlin review. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index c7536efec8ec1e85ec13637df95fa435fafafeea..4cd10fe5322336abb2178873aec97870d72323fb 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -336,13 +336,6 @@ class ExtensionService
// Checks for delayed installation for all pending installs.
void MaybeFinishDelayedInstallations();
- // Promotes an ephemeral app to a regular installed app. Ephemeral apps
- // are already installed in extension system (albiet transiently) and only
- // need to be exposed in the UI. Set |is_from_sync| to true if the
- // install was initiated via sync.
- void PromoteEphemeralApp(
- const extensions::Extension* extension, bool is_from_sync);
-
// ExtensionHost of background page calls this method right after its render
// view has been created.
void DidCreateRenderViewForBackgroundPage(extensions::ExtensionHost* host);
@@ -447,7 +440,7 @@ class ExtensionService
}
void FinishInstallationForTest(const extensions::Extension* extension) {
- FinishInstallation(extension, false /* not ephemeral */);
+ FinishInstallation(extension);
}
#endif
@@ -549,10 +542,8 @@ class ExtensionService
const extensions::Extension* extension,
extensions::UnloadedExtensionInfo::Reason reason);
- // Common helper to finish installing the given extension. |was_ephemeral|
- // should be true if the extension was previously installed and ephemeral.
- void FinishInstallation(const extensions::Extension* extension,
- bool was_ephemeral);
+ // Common helper to finish installing the given extension.
+ void FinishInstallation(const extensions::Extension* extension);
// Disables the extension if the privilege level has increased
// (e.g., due to an upgrade).
« no previous file with comments | « chrome/browser/extensions/extension_install_prompt.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698