Chromium Code Reviews| 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..6e6b92587d95a0093a54fb8e87397bac9af0d1fb |
| --- /dev/null |
| +++ b/ash/mus/vpn_delegate_mus.h |
| @@ -0,0 +1,34 @@ |
| +// 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 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
|
| +// mojo. |
| +class VPNDelegateMus : public VPNDelegate { |
| + public: |
| + VPNDelegateMus(); |
| + ~VPNDelegateMus() override; |
| + |
| + private: |
| + // VPNDelegate: |
| + bool HaveThirdPartyVPNProviders() const override; |
| + const std::vector<VPNProvider>& GetVPNProviders() const override; |
| + void ShowAddPage(const VPNProvider::Key& key) override; |
| + |
| + // GetVPNProviders returns a reference to this list. |
| + std::vector<VPNProvider> providers_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(VPNDelegateMus); |
| +}; |
| + |
| +} // namespace ash |
| + |
| +#endif // ASH_MUS_VPN_DELEGATE_MUS_H_ |