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

Unified Diff: Source/platform/PlatformResourceLoader.cpp

Issue 557543004: Revert "[blink-in-js] Migrate resources required for blink-in-js to grd - part 3" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/platform/PlatformResourceLoader.h ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PlatformResourceLoader.cpp
diff --git a/Source/platform/PlatformResourceLoader.cpp b/Source/platform/PlatformResourceLoader.cpp
deleted file mode 100644
index 13b21aa69598fd37a345cffc1c80e3f8f273a376..0000000000000000000000000000000000000000
--- a/Source/platform/PlatformResourceLoader.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "config.h"
-#include "PlatformResourceLoader.h"
-
-#include "public/platform/Platform.h"
-#include "public/platform/WebData.h"
-
-namespace blink {
-
-String loadResourceAsASCIIString(const char* resource)
-{
- const WebData& resourceData = Platform::current()->loadResource(resource);
- String dataString(resourceData.data(), resourceData.size());
- ASSERT(!dataString.isEmpty() && dataString.containsOnlyASCII());
- return dataString;
-}
-
-} // namespace blink
« no previous file with comments | « Source/platform/PlatformResourceLoader.h ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698