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

Unified Diff: net/base/net_util.cc

Issue 10825437: net: Fix more clang warnings about missing virtual and OVERRIDE annotations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « net/base/dns_reloader.cc ('k') | net/base/network_change_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util.cc
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index d39d7abf7ff4889cd3518c092c968d1d43562c1a..40c734f4521174494e094fcccac571f8b1a83c64 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -836,7 +836,7 @@ class HostComponentTransform : public AppendComponentTransform {
private:
virtual string16 Execute(
const std::string& component_text,
- std::vector<size_t>* offsets_into_component) const {
+ std::vector<size_t>* offsets_into_component) const OVERRIDE {
return IDNToUnicodeWithOffsets(component_text, languages_,
offsets_into_component);
}
@@ -853,7 +853,7 @@ class NonHostComponentTransform : public AppendComponentTransform {
private:
virtual string16 Execute(
const std::string& component_text,
- std::vector<size_t>* offsets_into_component) const {
+ std::vector<size_t>* offsets_into_component) const OVERRIDE {
return (unescape_rules_ == UnescapeRule::NONE) ?
UTF8ToUTF16AndAdjustOffsets(component_text, offsets_into_component) :
UnescapeAndDecodeUTF8URLComponentWithOffsets(component_text,
« no previous file with comments | « net/base/dns_reloader.cc ('k') | net/base/network_change_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698