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

Side by Side Diff: ash/system/networking_config_delegate.h

Issue 2836453003: tray: Show warning in network tray when VPN or proxy used. (Closed)
Patch Set: Created 3 years, 8 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_
6 #define ASH_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_ 6 #define ASH_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 20 matching lines...) Expand all
31 std::string extension_name; 31 std::string extension_name;
32 }; 32 };
33 33
34 virtual ~NetworkingConfigDelegate() {} 34 virtual ~NetworkingConfigDelegate() {}
35 35
36 // Returns information about the extension registered to control configuration 36 // Returns information about the extension registered to control configuration
37 // of the network |guid|. Returns null if no extension is registered. 37 // of the network |guid|. Returns null if no extension is registered.
38 virtual std::unique_ptr<const ExtensionInfo> LookUpExtensionForNetwork( 38 virtual std::unique_ptr<const ExtensionInfo> LookUpExtensionForNetwork(
39 const std::string& guid) = 0; 39 const std::string& guid) = 0;
40 40
41 virtual bool HasDefaultNetworkProxyConfigured() = 0;
42
41 private: 43 private:
42 DISALLOW_ASSIGN(NetworkingConfigDelegate); 44 DISALLOW_ASSIGN(NetworkingConfigDelegate);
43 }; 45 };
44 46
45 } // namespace ash 47 } // namespace ash
46 48
47 #endif // ASH_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_ 49 #endif // ASH_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698