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

Unified Diff: ash/mus/vpn_delegate_mus.h

Issue 2522613004: Revert of chromeos: Convert ash VPNDelegate interface to mojo (Closed)
Patch Set: 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
« no previous file with comments | « ash/mus/system_tray_delegate_mus.cc ('k') | ash/mus/vpn_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/vpn_delegate_mus.h
diff --git a/ash/mus/vpn_delegate_mus.h b/ash/mus/vpn_delegate_mus.h
new file mode 100644
index 0000000000000000000000000000000000000000..5c44a72f7f0cd4299d5c8e1c4c3183ddd29ce4ca
--- /dev/null
+++ b/ash/mus/vpn_delegate_mus.h
@@ -0,0 +1,28 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_MUS_VPN_DELEGATE_MUS_H_
+#define ASH_MUS_VPN_DELEGATE_MUS_H_
+
+#include "ash/common/system/chromeos/network/vpn_delegate.h"
+#include "base/macros.h"
+
+namespace ash {
+
+// VPN delegate for mustash. Fetches VPN data from browser process over mojo.
+class VPNDelegateMus : public VPNDelegate {
+ public:
+ VPNDelegateMus();
+ ~VPNDelegateMus() override;
+
+ private:
+ // VPNDelegate:
+ void ShowAddPage(const std::string& extension_id) override;
+
+ DISALLOW_COPY_AND_ASSIGN(VPNDelegateMus);
+};
+
+} // namespace ash
+
+#endif // ASH_MUS_VPN_DELEGATE_MUS_H_
« no previous file with comments | « ash/mus/system_tray_delegate_mus.cc ('k') | ash/mus/vpn_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698