Chromium Code Reviews| 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 information from chrome browser over | |
|
msw
2016/09/28 22:19:54
optional nit: nix 'browser' for a one-liner
James Cook
2016/09/29 16:45:39
Rewrote to one line. I'm trying to use the word "b
| |
| 14 // mojo. | |
| 15 class VPNDelegateMus : public VPNDelegate { | |
| 16 public: | |
| 17 VPNDelegateMus(); | |
| 18 ~VPNDelegateMus() override; | |
| 19 | |
| 20 private: | |
| 21 // VPNDelegate: | |
| 22 bool HaveThirdPartyVPNProviders() const override; | |
| 23 const std::vector<VPNProvider>& GetVPNProviders() const override; | |
| 24 void ShowAddPage(const VPNProvider::Key& key) override; | |
| 25 | |
| 26 // GetVPNProviders returns a reference to this list. | |
| 27 std::vector<VPNProvider> providers_; | |
| 28 | |
| 29 DISALLOW_COPY_AND_ASSIGN(VPNDelegateMus); | |
| 30 }; | |
| 31 | |
| 32 } // namespace ash | |
| 33 | |
| 34 #endif // ASH_MUS_VPN_DELEGATE_MUS_H_ | |
| OLD | NEW |