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

Unified Diff: chrome/browser/ui/ash/vpn_delegate_chromeos.h

Issue 2510083006: chromeos: Move ownership of ash VPN provider list from chrome into ash (Closed)
Patch Set: Collapse VPNProvider::Key and VPNProvider structs Created 4 years, 1 month 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/ui/ash/vpn_delegate_chromeos.h
diff --git a/chrome/browser/ui/ash/vpn_delegate_chromeos.h b/chrome/browser/ui/ash/vpn_delegate_chromeos.h
index c4c42b9de66e828dc6bc0cca940ddad1907187b7..bd18557a448b539886a7e8430420a9743831fdc0 100644
--- a/chrome/browser/ui/ash/vpn_delegate_chromeos.h
+++ b/chrome/browser/ui/ash/vpn_delegate_chromeos.h
@@ -28,9 +28,7 @@ class VPNDelegateChromeOS : public ash::VPNDelegate,
~VPNDelegateChromeOS() override;
// ash::VPNDelegate:
- bool HaveThirdPartyVPNProviders() const override;
- const std::vector<ash::VPNProvider>& GetVPNProviders() const override;
- void ShowAddPage(const ash::VPNProvider::Key& key) override;
+ void ShowAddPage(const std::string& extension_id) override;
// extensions::ExtensionRegistryObserver:
void OnExtensionLoaded(content::BrowserContext* browser_context,
@@ -61,9 +59,6 @@ class VPNDelegateChromeOS : public ash::VPNDelegate,
// The primary user's extension registry, if a user is logged in.
extensions::ExtensionRegistry* extension_registry_ = nullptr;
- // A cache of the VPN providers enabled in the primary user's profile.
- std::vector<ash::VPNProvider> vpn_providers_;
-
content::NotificationRegistrar registrar_;
base::WeakPtrFactory<VPNDelegateChromeOS> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698