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

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 984863005: Add ash::VPNDelegate and Chrome OS implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a VPNProvider::Key abstraction. Created 5 years, 9 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
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index 6cfd1c5ce9dc0d48029cf1c309d61d1407703b3e..fc23d94e2af48cd145feb60f26f762a7a60d9efa 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -99,6 +99,7 @@ struct ASH_EXPORT UpdateInfo {
using IMEInfoList = std::vector<IMEInfo>;
class NetworkingConfigDelegate;
+class VPNDelegate;
using RebootOnShutdownCallback = base::Callback<void(bool)>;
@@ -332,6 +333,9 @@ class ASH_EXPORT SystemTrayDelegate {
// specified by the device policy |DeviceRebootOnShutdown|. This function
// asynchronously calls |callback| once a trusted policy becomes available.
virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback);
+
+ // Returns VPNDelegate. May return nullptr.
+ virtual VPNDelegate* GetVPNDelegate() const;
};
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698