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

Unified Diff: content/shell/test_runner/mock_content_settings_client.cc

Issue 2707183003: Move //components/test_runner back into //content/shell (Closed)
Patch Set: Trim DEPS Created 3 years, 10 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: content/shell/test_runner/mock_content_settings_client.cc
diff --git a/components/test_runner/mock_content_settings_client.cc b/content/shell/test_runner/mock_content_settings_client.cc
similarity index 86%
rename from components/test_runner/mock_content_settings_client.cc
rename to content/shell/test_runner/mock_content_settings_client.cc
index c9417d940a5504e1d6396f83afc912c0abf08486..03b3d90a4890574b5a7a0a11f9560926d48693e9 100644
--- a/components/test_runner/mock_content_settings_client.cc
+++ b/content/shell/test_runner/mock_content_settings_client.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/test_runner/mock_content_settings_client.h"
+#include "content/shell/test_runner/mock_content_settings_client.h"
-#include "components/test_runner/layout_test_runtime_flags.h"
-#include "components/test_runner/test_common.h"
-#include "components/test_runner/web_test_delegate.h"
+#include "content/shell/test_runner/layout_test_runtime_flags.h"
+#include "content/shell/test_runner/test_common.h"
+#include "content/shell/test_runner/web_test_delegate.h"
#include "third_party/WebKit/public/platform/WebURL.h"
namespace test_runner {
@@ -23,8 +23,8 @@ bool MockContentSettingsClient::allowImage(bool enabled_per_settings,
if (flags_->dump_web_content_settings_client_callbacks() && delegate_) {
delegate_->PrintMessage(
std::string("MockContentSettingsClient: allowImage(") +
- NormalizeLayoutTestURL(image_url.string().utf8()) +
- "): " + (allowed ? "true" : "false") + "\n");
+ NormalizeLayoutTestURL(image_url.string().utf8()) + "): " +
+ (allowed ? "true" : "false") + "\n");
}
return allowed;
}

Powered by Google App Engine
This is Rietveld 408576698