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

Unified Diff: ash/system/network/network_list_view_base.h

Issue 2731873002: Revert "chromeos: Move files in //ash/common to //ash, part 1" (Closed)
Patch Set: Created 3 years, 9 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/system/network/network_list_md.cc ('k') | ash/system/network/network_list_view_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/network/network_list_view_base.h
diff --git a/ash/system/network/network_list_view_base.h b/ash/system/network/network_list_view_base.h
deleted file mode 100644
index c5eee110acd47054b8ee19ca83f0e319675298f9..0000000000000000000000000000000000000000
--- a/ash/system/network/network_list_view_base.h
+++ /dev/null
@@ -1,47 +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_SYSTEM_NETWORK_NETWORK_LIST_VIEW_BASE_H_
-#define ASH_SYSTEM_NETWORK_NETWORK_LIST_VIEW_BASE_H_
-
-#include <string>
-
-#include "base/macros.h"
-
-namespace views {
-class View;
-}
-
-namespace ash {
-
-// Base class for a list of available networks (and, in the case of VPNs, the
-// list of available VPN providers).
-class NetworkListViewBase {
- public:
- NetworkListViewBase();
- virtual ~NetworkListViewBase();
-
- void set_container(views::View* container) { container_ = container; }
-
- // Refreshes the network list.
- virtual void Update() = 0;
-
- // Checks whether |view| represents a network in the list. If yes, sets
- // |guid| to the network's guid and returns |true|. Otherwise,
- // leaves |guid| unchanged and returns |false|.
- virtual bool IsNetworkEntry(views::View* view, std::string* guid) const = 0;
-
- protected:
- views::View* container() { return container_; }
-
- private:
- // The container that holds the actual list entries.
- views::View* container_ = nullptr;
-
- DISALLOW_COPY_AND_ASSIGN(NetworkListViewBase);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_NETWORK_NETWORK_LIST_VIEW_BASE_H_
« no previous file with comments | « ash/system/network/network_list_md.cc ('k') | ash/system/network/network_list_view_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698