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

Unified Diff: chrome/browser/printing/cloud_print/privet_traffic_detector.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_traffic_detector.h
diff --git a/chrome/browser/local_discovery/privet_traffic_detector.h b/chrome/browser/printing/cloud_print/privet_traffic_detector.h
similarity index 89%
rename from chrome/browser/local_discovery/privet_traffic_detector.h
rename to chrome/browser/printing/cloud_print/privet_traffic_detector.h
index 0ff0d13e48e9363a74a950a931ca2ed83f829652..4577cbbde4f711fa7afd3440f1f9247ae73f6f7f 100644
--- a/chrome/browser/local_discovery/privet_traffic_detector.h
+++ b/chrome/browser/printing/cloud_print/privet_traffic_detector.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_LOCAL_DISCOVERY_PRIVET_TRAFFIC_DETECTOR_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_TRAFFIC_DETECTOR_H_
+#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_TRAFFIC_DETECTOR_H_
+#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_TRAFFIC_DETECTOR_H_
#include "base/callback.h"
#include "base/cancelable_callback.h"
@@ -18,7 +18,7 @@ class DatagramServerSocket;
class IOBufferWithSize;
}
-namespace local_discovery {
+namespace cloud_print {
// Detects mDns traffic that looks like "Privet" protocol.
// Can produce false positives results, but main task of the class is to avoid
@@ -67,6 +67,6 @@ class PrivetTrafficDetector
DISALLOW_COPY_AND_ASSIGN(PrivetTrafficDetector);
};
-} // namespace local_discovery
+} // namespace cloud_print
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_TRAFFIC_DETECTOR_H_
+#endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_TRAFFIC_DETECTOR_H_

Powered by Google App Engine
This is Rietveld 408576698