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

Unified Diff: chrome/browser/printing/cloud_print/privet_local_printer_lister_unittest.cc

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_local_printer_lister_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc b/chrome/browser/printing/cloud_print/privet_local_printer_lister_unittest.cc
similarity index 97%
rename from chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc
rename to chrome/browser/printing/cloud_print/privet_local_printer_lister_unittest.cc
index 700335f779ceaec3a40ea36250d2a07ae2ee59f0..58e5c3c169e940bd10cf054919c9f076a6e72475 100644
--- a/chrome/browser/local_discovery/privet_local_printer_lister_unittest.cc
+++ b/chrome/browser/printing/cloud_print/privet_local_printer_lister_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/local_discovery/privet_local_printer_lister.h"
+#include "chrome/browser/printing/cloud_print/privet_local_printer_lister.h"
#include <stddef.h>
#include <stdint.h>
@@ -16,11 +16,13 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+using local_discovery::TestServiceDiscoveryClient;
+
using testing::StrictMock;
using testing::AtLeast;
using testing::_;
-namespace local_discovery {
+namespace cloud_print {
namespace {
@@ -172,7 +174,7 @@ TEST_F(PrivetLocalPrinterListerTest, PrinterAddedTest) {
EXPECT_TRUE(SuccessfulResponseToURL(
GURL(kPrivetInfoURL),
std::string(kInfoIsLocalPrinter)));
-};
+}
TEST_F(PrivetLocalPrinterListerTest, NonPrinterAddedTest) {
ExpectAnyPacket();
@@ -186,8 +188,8 @@ TEST_F(PrivetLocalPrinterListerTest, NonPrinterAddedTest) {
EXPECT_TRUE(SuccessfulResponseToURL(
GURL(kPrivetInfoURL),
std::string(kInfoIsNotLocalPrinter)));
-};
+}
} // namespace
-} // namespace local_discovery
+} // namespace cloud_print

Powered by Google App Engine
This is Rietveld 408576698