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

Side by Side Diff: ash/mus/vpn_delegate_mus.h

Issue 2378193002: mustash: Show networking items in ash system tray (Closed)
Patch Set: back to ifdefs Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698