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

Unified Diff: content/browser/accessibility/browser_accessibility.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: content/browser/accessibility/browser_accessibility.h
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index 1f858f175146479ac1e05a4f8432bd08bddb9ce0..701010f37c9597487f8a2f68b10fd7c5fa33a035 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -192,7 +192,7 @@ class CONTENT_EXPORT BrowserAccessibility {
// need to distinguish between the default value and a missing attribute),
// and another that returns the default value for that type if the
// attribute is not present. In addition, strings can be returned as
- // either std::string or string16, for convenience.
+ // either std::string or base::string16, for convenience.
bool HasBoolAttribute(AccessibilityNodeData::BoolAttribute attr) const;
bool GetBoolAttribute(AccessibilityNodeData::BoolAttribute attr) const;
@@ -217,8 +217,8 @@ class CONTENT_EXPORT BrowserAccessibility {
std::string* value) const;
bool GetString16Attribute(AccessibilityNodeData::StringAttribute attribute,
- string16* value) const;
- string16 GetString16Attribute(
+ base::string16* value) const;
+ base::string16 GetString16Attribute(
AccessibilityNodeData::StringAttribute attribute) const;
bool HasIntListAttribute(
@@ -234,7 +234,7 @@ class CONTENT_EXPORT BrowserAccessibility {
// Retrieve the value of a html attribute from the attribute map and
// returns true if found.
- bool GetHtmlAttribute(const char* attr, string16* value) const;
+ bool GetHtmlAttribute(const char* attr, base::string16* value) const;
bool GetHtmlAttribute(const char* attr, std::string* value) const;
// Utility method to handle special cases for ARIA booleans, tristates and
« no previous file with comments | « content/browser/accessibility/accessibility_win_browsertest.cc ('k') | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698