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

Unified Diff: content/renderer/cpp_bound_class_unittest.cc

Issue 21955003: Cleanup: Use content::kAboutBlankURL instead of the raw string in contents/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 4 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/renderer/cpp_bound_class_unittest.cc
===================================================================
--- content/renderer/cpp_bound_class_unittest.cc (revision 215674)
+++ content/renderer/cpp_bound_class_unittest.cc (working copy)
@@ -7,6 +7,7 @@
// the binding from the outside by loading JS into the shell.
#include "base/strings/utf_string_conversions.h"
+#include "content/public/common/url_constants.h"
#include "content/public/renderer/render_view_observer.h"
#include "content/public/test/render_view_test.h"
#include "third_party/WebKit/public/platform/WebURLRequest.h"
@@ -69,7 +70,7 @@
CppBindingExampleWithOptionalFallback example_bound_class_;
};
-} // namespace anonymous
+} // namespace
class CppBoundClassTest : public RenderViewTest {
public:
@@ -82,7 +83,7 @@
WebKit::WebURLRequest url_request;
url_request.initialize();
- url_request.setURL(GURL("about:blank"));
+ url_request.setURL(GURL(kAboutBlankURL));
GetMainFrame()->loadRequest(url_request);
ProcessPendingMessages();
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/renderer/resource_fetcher_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698