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

Unified Diff: chrome/browser/media/router/discovery/dial/dial_registry.h

Issue 2756483007: [Device Discovery] Move files from browser/extensions/api/dial to browser/media/router/discovery/di… (Closed)
Patch Set: resolve code review comments from Devlin 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
Index: chrome/browser/media/router/discovery/dial/dial_registry.h
diff --git a/chrome/browser/extensions/api/dial/dial_registry.h b/chrome/browser/media/router/discovery/dial/dial_registry.h
similarity index 95%
rename from chrome/browser/extensions/api/dial/dial_registry.h
rename to chrome/browser/media/router/discovery/dial/dial_registry.h
index f0597e024d2b264f74de3cc41f5871ce21033874..12250ff40a657b40705dbfbf4a0aaa3614210aac 100644
--- a/chrome/browser/extensions/api/dial/dial_registry.h
+++ b/chrome/browser/media/router/discovery/dial/dial_registry.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_REGISTRY_H_
-#define CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_REGISTRY_H_
+#ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DIAL_REGISTRY_H_
+#define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DIAL_REGISTRY_H_
#include <stddef.h>
@@ -19,13 +19,11 @@
#include "base/observer_list.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
-#include "chrome/browser/extensions/api/dial/dial_service.h"
+#include "chrome/browser/media/router/discovery/dial/dial_service.h"
#include "chrome/browser/profiles/profile.h"
#include "net/base/network_change_notifier.h"
-namespace extensions {
-namespace api {
-namespace dial {
+namespace media_router {
// Keeps track of devices that have responded to discovery requests and notifies
// the observer with an updated, complete set of active devices. The registry's
@@ -203,8 +201,6 @@ class DialRegistry : public DialService::Observer,
DISALLOW_COPY_AND_ASSIGN(DialRegistry);
};
-} // namespace dial
-} // namespace api
-} // namespace extensions
+} // namespace media_router
-#endif // CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_REGISTRY_H_
+#endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DIAL_REGISTRY_H_

Powered by Google App Engine
This is Rietveld 408576698