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

Unified Diff: chrome/browser/extensions/api/content_settings/content_settings_helpers.h

Issue 1372353004: Making structure for ContentSettings and its corresponding strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits. Created 5 years, 2 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/extensions/api/content_settings/content_settings_helpers.h
diff --git a/chrome/browser/extensions/api/content_settings/content_settings_helpers.h b/chrome/browser/extensions/api/content_settings/content_settings_helpers.h
index ddd8dd9518c77f3308054248d7334c70c1724a04..277cf56d9da22b301c106b9427b60df2ab1972bd 100644
--- a/chrome/browser/extensions/api/content_settings/content_settings_helpers.h
+++ b/chrome/browser/extensions/api/content_settings/content_settings_helpers.h
@@ -30,14 +30,6 @@ ContentSettingsType StringToContentSettingsType(
// Returns a string representation of a ContentSettingsType.
std::string ContentSettingsTypeToString(ContentSettingsType type);
-// Converts a content setting string to the corresponding ContentSetting.
-// Returns true if |setting_str| specifies a valid content setting,
-// false otherwise.
-bool StringToContentSetting(const std::string& setting_str,
- ContentSetting* setting);
-// Returns a string representation of a ContentSetting.
-const char* ContentSettingToString(ContentSetting setting);
-
} // namespace content_settings_helpers
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698