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

Unified Diff: ash/networking_config_delegate.h

Issue 2056823002: mash: Move SystemTrayDelegate and dependencies to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/metrics/user_metrics_recorder.cc ('k') | ash/networking_config_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/networking_config_delegate.h
diff --git a/ash/networking_config_delegate.h b/ash/networking_config_delegate.h
deleted file mode 100644
index d4c408a096eefd54b2e10b86401a3dc8cf0902a9..0000000000000000000000000000000000000000
--- a/ash/networking_config_delegate.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2015 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_NETWORKING_CONFIG_DELEGATE_H_
-#define ASH_NETWORKING_CONFIG_DELEGATE_H_
-
-#include <memory>
-#include <string>
-
-#include "ash/ash_export.h"
-#include "base/macros.h"
-
-namespace ash {
-
-// This delegate allows the UI code in ash, e.g. |NetworkStateListDetailedView|,
-// to access the |NetworkingConfigService| in order to determine whether the
-// configuration of a network identified by its |service_path| is controlled by
-// an extension.
-class NetworkingConfigDelegate {
- public:
- // A struct that provides information about the extension controlling the
- // configuration of a network.
- struct ASH_EXPORT ExtensionInfo {
- ExtensionInfo(const std::string& id, const std::string& name);
- ~ExtensionInfo();
- std::string extension_id;
- std::string extension_name;
- };
-
- virtual ~NetworkingConfigDelegate() {}
-
- // Returns information about the extension registered to control configuration
- // of the network |service_path|. If no extension is registered, the
- // scoped_ptr is empty.
- virtual std::unique_ptr<const ExtensionInfo> LookUpExtensionForNetwork(
- const std::string& service_path) = 0;
-
- private:
- DISALLOW_ASSIGN(NetworkingConfigDelegate);
-};
-
-} // namespace ash
-
-#endif // ASH_NETWORKING_CONFIG_DELEGATE_H_
« no previous file with comments | « ash/metrics/user_metrics_recorder.cc ('k') | ash/networking_config_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698