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

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: Fixed crash during device-local account login. 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
« no previous file with comments | « ash/system/chromeos/network/vpn_delegate.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21582f10170553e176ac868bb7c0d3b3c9eabdaa..fb2601af93c239dfbfca0cb7db759b4dcf45c6d6 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
« no previous file with comments | « ash/system/chromeos/network/vpn_delegate.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698