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

Unified Diff: chrome/common/extensions/permissions/socket_permission_entry.cc

Issue 89243003: Move EmptyString, kWhitespace and the BOM to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/common/extensions/permissions/socket_permission_entry.cc
diff --git a/chrome/common/extensions/permissions/socket_permission_entry.cc b/chrome/common/extensions/permissions/socket_permission_entry.cc
index 9d9eeeab0a16209fb3457656eadee2fe883f8380..be426ead0796d4376eb136ff32c36a7244180527 100644
--- a/chrome/common/extensions/permissions/socket_permission_entry.cc
+++ b/chrome/common/extensions/permissions/socket_permission_entry.cc
@@ -28,9 +28,9 @@ const int kWildcardPortNumber = 0;
const int kInvalidPort = -1;
bool StartsOrEndsWithWhitespace(const std::string& str) {
- if (str.find_first_not_of(kWhitespaceASCII) != 0)
+ if (str.find_first_not_of(base::kWhitespaceASCII) != 0)
return true;
- if (str.find_last_not_of(kWhitespaceASCII) != str.length() - 1)
+ if (str.find_last_not_of(base::kWhitespaceASCII) != str.length() - 1)
return true;
return false;
}
« no previous file with comments | « chrome/common/extensions/api/omnibox/omnibox_handler.cc ('k') | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698