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

Unified Diff: content/browser/accessibility/accessibility_tree_formatter.cc

Issue 1875913002: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | content/browser/accessibility/accessibility_tree_formatter_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/accessibility_tree_formatter.cc
diff --git a/content/browser/accessibility/accessibility_tree_formatter.cc b/content/browser/accessibility/accessibility_tree_formatter.cc
index 70a00f4f5cfb60bc413ef2520028f23fdb43ec6c..7968c71b285237ed0a823f9c6057242840b70559 100644
--- a/content/browser/accessibility/accessibility_tree_formatter.cc
+++ b/content/browser/accessibility/accessibility_tree_formatter.cc
@@ -19,13 +19,16 @@
#include "content/public/browser/web_contents.h"
namespace content {
+
namespace {
+
const char kIndentSymbol = '+';
const int kIndentSymbolCount = 2;
-const char* kSkipString = "@NO_DUMP";
-const char* kSkipChildren = "@NO_CHILDREN_DUMP";
-const char* kChildrenDictAttr = "children";
-}
+const char kSkipString[] = "@NO_DUMP";
+const char kSkipChildren[] = "@NO_CHILDREN_DUMP";
+const char kChildrenDictAttr[] = "children";
+
+} // namespace
AccessibilityTreeFormatter::AccessibilityTreeFormatter()
: show_ids_(false) {
« no previous file with comments | « no previous file | content/browser/accessibility/accessibility_tree_formatter_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698