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

Unified Diff: Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl

Issue 1259763006: Use std::string instead of WebString in WebRuntimeFeatures (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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/build/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl ('k') | Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
diff --git a/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl b/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
index c3afacbb9328c2e8ba2eff9b66fb34997e139073..b9f4873783ad960f0361ab405ca8de808849a77e 100644
--- a/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
+++ b/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
@@ -4,6 +4,8 @@
#ifndef RuntimeEnabledFeatures_h
#define RuntimeEnabledFeatures_h
+#include <string>
+
#include "platform/PlatformExport.h"
#include "wtf/Forward.h"
@@ -17,7 +19,7 @@ public:
static void set{{feature_set|capitalize}}FeaturesEnabled(bool);
{% endfor %}
- static void setFeatureEnabledFromString(const WTF::String& name, bool isEnabled);
+ static void setFeatureEnabledFromString(const std::string& name, bool isEnabled);
{% for feature in features %}
{% if feature.custom %}
« no previous file with comments | « Source/build/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl ('k') | Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698