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

Unified Diff: chrome/browser/printing/cloud_print/privet_notifications.h

Issue 1553333002: Move cloud print specific files out of local_discovery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveprn
Patch Set: Created 4 years, 11 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/printing/cloud_print/privet_notifications.h
diff --git a/chrome/browser/local_discovery/privet_notifications.h b/chrome/browser/printing/cloud_print/privet_notifications.h
similarity index 89%
rename from chrome/browser/local_discovery/privet_notifications.h
rename to chrome/browser/printing/cloud_print/privet_notifications.h
index 3faf92e5d72e163ddb8e3b1b649c9bacaa9ec1dc..7e8e650321f6d8812f03f650084b4f6ac83208c9 100644
--- a/chrome/browser/local_discovery/privet_notifications.h
+++ b/chrome/browser/printing/cloud_print/privet_notifications.h
@@ -2,27 +2,30 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_NOTIFICATIONS_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_NOTIFICATIONS_H_
+#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_NOTIFICATIONS_H_
+#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_NOTIFICATIONS_H_
#include <map>
#include <string>
#include "base/prefs/pref_member.h"
-#include "chrome/browser/local_discovery/privet_device_lister.h"
-#include "chrome/browser/local_discovery/privet_http.h"
#include "chrome/browser/notifications/notification_delegate.h"
+#include "chrome/browser/printing/cloud_print/privet_device_lister.h"
+#include "chrome/browser/printing/cloud_print/privet_http.h"
#include "components/keyed_service/core/keyed_service.h"
class NotificationUIManager;
namespace content {
class BrowserContext;
-} // namespace content
+}
namespace local_discovery {
-
class ServiceDiscoverySharedClient;
+}
+
+namespace cloud_print {
+
class PrivetDeviceLister;
class PrivetHTTPAsynchronousFactory;
class PrivetHTTPResolution;
@@ -119,7 +122,8 @@ class PrivetNotificationService
content::BrowserContext* profile_;
scoped_ptr<PrivetDeviceLister> device_lister_;
- scoped_refptr<ServiceDiscoverySharedClient> service_discovery_client_;
+ scoped_refptr<local_discovery::ServiceDiscoverySharedClient>
+ service_discovery_client_;
scoped_ptr<PrivetNotificationsListener> privet_notifications_listener_;
BooleanPrefMember enable_privet_notification_member_;
@@ -145,6 +149,6 @@ class PrivetNotificationDelegate : public NotificationDelegate {
content::BrowserContext* profile_;
};
-} // namespace local_discovery
+} // namespace cloud_print
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_NOTIFICATIONS_H_
+#endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_NOTIFICATIONS_H_

Powered by Google App Engine
This is Rietveld 408576698