| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_MUS_VPN_DELEGATE_MUS_H_ |
| 6 #define ASH_MUS_VPN_DELEGATE_MUS_H_ |
| 7 |
| 8 #include "ash/common/system/chromeos/network/vpn_delegate.h" |
| 9 #include "base/macros.h" |
| 10 |
| 11 namespace ash { |
| 12 |
| 13 // VPN delegate for mustash. Fetches VPN data from browser process over mojo. |
| 14 class VPNDelegateMus : public VPNDelegate { |
| 15 public: |
| 16 VPNDelegateMus(); |
| 17 ~VPNDelegateMus() override; |
| 18 |
| 19 private: |
| 20 // VPNDelegate: |
| 21 bool HaveThirdPartyVPNProviders() const override; |
| 22 const std::vector<VPNProvider>& GetVPNProviders() const override; |
| 23 void ShowAddPage(const VPNProvider::Key& key) override; |
| 24 |
| 25 // GetVPNProviders returns a reference to this list. |
| 26 std::vector<VPNProvider> providers_; |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(VPNDelegateMus); |
| 29 }; |
| 30 |
| 31 } // namespace ash |
| 32 |
| 33 #endif // ASH_MUS_VPN_DELEGATE_MUS_H_ |
| OLD | NEW |