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

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

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 10 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
Index: ash/common/system/chromeos/network/network_list_view_base.h
diff --git a/ash/common/system/chromeos/network/network_list_view_base.h b/ash/common/system/chromeos/network/network_list_view_base.h
deleted file mode 100644
index d47eb78a8488eeeb6a613cba3c4e39dc8f122a6b..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/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_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_LIST_VIEW_BASE_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_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_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_LIST_VIEW_BASE_H_
« no previous file with comments | « ash/common/system/chromeos/network/network_list_md.cc ('k') | ash/common/system/chromeos/network/network_list_view_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698