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

Unified Diff: components/content_settings/core/common/content_settings_types.cc

Issue 1664113002: C++->Java string constants auto-generator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@contentsettingstype_enum_2_string
Patch Set: set upstream back to ContentSettingsType-enum-to-string Created 4 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
« build/android/gyp/java_cpp_string_tests.py ('K') | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/content_settings/core/common/content_settings_types.cc
diff --git a/components/content_settings/core/common/content_settings_types.cc b/components/content_settings/core/common/content_settings_types.cc
index 35fd23464e0d3dfe6385c8052d2ded76b0881d8f..106380a32274ad738aa42c7be28ed555d2307802 100644
--- a/components/content_settings/core/common/content_settings_types.cc
+++ b/components/content_settings/core/common/content_settings_types.cc
@@ -4,6 +4,9 @@
#include "components/content_settings/core/common/content_settings_types.h"
+// A Java counterpart will be generated for these strings.
+// GENERATED_JAVA_STRING_PACKAGE: org.chromium.chrome.browser
+// GENERATED_JAVA_CLASS_NAME: ContentSettingsType
const char CONTENT_SETTINGS_TYPE_DEFAULT[] = "";
const char CONTENT_SETTINGS_TYPE_COOKIES[] = "cookies";
const char CONTENT_SETTINGS_TYPE_IMAGES[] = "images";
« build/android/gyp/java_cpp_string_tests.py ('K') | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698