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

Unified Diff: extensions/browser/api/vpn_provider/vpn_service.cc

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/api/vpn_provider/vpn_service.h ('k') | extensions/browser/app_window/app_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/vpn_provider/vpn_service.cc
diff --git a/extensions/browser/api/vpn_provider/vpn_service.cc b/extensions/browser/api/vpn_provider/vpn_service.cc
index b8fffefc9151b7a466930c9bc74b181e2af4701e..0c9f2107b2f4be1cc5e71b01dad689161547a8cb 100644
--- a/extensions/browser/api/vpn_provider/vpn_service.cc
+++ b/extensions/browser/api/vpn_provider/vpn_service.cc
@@ -553,7 +553,7 @@ void VpnService::OnExtensionUninstalled(
void VpnService::OnExtensionUnloaded(
content::BrowserContext* browser_context,
const extensions::Extension* extension,
- extensions::UnloadedExtensionInfo::Reason reason) {
+ extensions::UnloadedExtensionReason reason) {
if (browser_context != browser_context_) {
NOTREACHED();
return;
@@ -566,8 +566,8 @@ void VpnService::OnExtensionUnloaded(
static_cast<uint32_t>(api_vpn::VPN_CONNECTION_STATE_FAILURE),
base::Bind(base::DoNothing), base::Bind(DoNothingFailureCallback));
}
- if (reason == extensions::UnloadedExtensionInfo::REASON_DISABLE ||
- reason == extensions::UnloadedExtensionInfo::REASON_BLACKLIST) {
+ if (reason == extensions::UnloadedExtensionReason::DISABLE ||
+ reason == extensions::UnloadedExtensionReason::BLACKLIST) {
DestroyConfigurationsForExtension(extension);
}
}
« no previous file with comments | « extensions/browser/api/vpn_provider/vpn_service.h ('k') | extensions/browser/app_window/app_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698