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

Unified Diff: chrome/browser/printing/cloud_print/privet_confirm_api_flow_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_confirm_api_flow_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc b/chrome/browser/printing/cloud_print/privet_confirm_api_flow_unittest.cc
similarity index 88%
rename from chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc
rename to chrome/browser/printing/cloud_print/privet_confirm_api_flow_unittest.cc
index 40f766ce1486b5c64e23fc8e1515f352bc679a0d..4877c2c87a3108b0b14ea2103a163e167ac642b0 100644
--- a/chrome/browser/local_discovery/privet_confirm_api_flow_unittest.cc
+++ b/chrome/browser/printing/cloud_print/privet_confirm_api_flow_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_confirm_api_flow.h"
+#include "chrome/browser/printing/cloud_print/privet_confirm_api_flow.h"
#include <set>
@@ -13,7 +13,7 @@
using testing::StrictMock;
using testing::_;
-namespace local_discovery {
+namespace cloud_print {
namespace {
@@ -51,15 +51,15 @@ TEST(PrivetConfirmApiFlowTest, Parsing) {
base::JSONReader::Read(kSampleConfirmResponse);
const base::DictionaryValue* dictionary = NULL;
ASSERT_TRUE(value->GetAsDictionary(&dictionary));
- confirmation.OnGCDAPIFlowComplete(*dictionary);
+ confirmation.OnGCDApiFlowComplete(*dictionary);
EXPECT_CALL(delegate, Callback(GCDApiFlow::ERROR_FROM_SERVER)).Times(1);
value = base::JSONReader::Read(kFailedConfirmResponse);
ASSERT_TRUE(value->GetAsDictionary(&dictionary));
- confirmation.OnGCDAPIFlowComplete(*dictionary);
+ confirmation.OnGCDApiFlowComplete(*dictionary);
}
} // namespace
-} // namespace local_discovery
+} // namespace cloud_print
« no previous file with comments | « chrome/browser/printing/cloud_print/privet_confirm_api_flow.cc ('k') | chrome/browser/printing/cloud_print/privet_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698