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

Unified Diff: components/metrics/net/wifi_access_point_info_provider_chromeos.h

Issue 636363004: Make remaining parts of components/metrics use metrics namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cros compile Created 6 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 side-by-side diff with in-line comments
Download patch
Index: components/metrics/net/wifi_access_point_info_provider_chromeos.h
diff --git a/components/metrics/net/wifi_access_point_info_provider_chromeos.h b/components/metrics/net/wifi_access_point_info_provider_chromeos.h
index 520cedd4cb32e92ce32af591298d990dfa30ef2e..c6980ec5dd859f5dd11e43437e5484485a68ee98 100644
--- a/components/metrics/net/wifi_access_point_info_provider_chromeos.h
+++ b/components/metrics/net/wifi_access_point_info_provider_chromeos.h
@@ -5,12 +5,16 @@
#ifndef COMPONENTS_METRICS_NET_WIFI_ACCESS_POINT_INFO_PROVIDER_CHROMEOS_H_
#define COMPONENTS_METRICS_NET_WIFI_ACCESS_POINT_INFO_PROVIDER_CHROMEOS_H_
+#include <string>
+
#include "base/basictypes.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
#include "chromeos/network/network_state_handler_observer.h"
#include "components/metrics/net/wifi_access_point_info_provider.h"
+namespace metrics {
+
// WifiAccessPointInfoProviderChromeos provides the connected wifi
// acccess point information for chromeos.
class WifiAccessPointInfoProviderChromeos
@@ -21,11 +25,11 @@ class WifiAccessPointInfoProviderChromeos
WifiAccessPointInfoProviderChromeos();
virtual ~WifiAccessPointInfoProviderChromeos();
- // WifiAccessPointInfoProvider
- virtual bool GetInfo(WifiAccessPointInfo* info) override;
+ // WifiAccessPointInfoProvider:
+ bool GetInfo(WifiAccessPointInfo* info) override;
- // NetworkStateHandlerObserver overrides.
- virtual void DefaultNetworkChanged(
+ // NetworkStateHandlerObserver:
+ void DefaultNetworkChanged(
const chromeos::NetworkState* default_network) override;
private:
@@ -39,4 +43,6 @@ class WifiAccessPointInfoProviderChromeos
DISALLOW_COPY_AND_ASSIGN(WifiAccessPointInfoProviderChromeos);
};
+} // namespace metrics
+
#endif // COMPONENTS_METRICS_NET_WIFI_ACCESS_POINT_INFO_PROVIDER_CHROMEOS_H_

Powered by Google App Engine
This is Rietveld 408576698