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

Side by Side Diff: chrome/renderer/chrome_render_view_observer.cc

Issue 1172753003: Move LowerCaseEqualsASCII to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/renderer/chrome_render_view_observer.h" 5 #include "chrome/renderer/chrome_render_view_observer.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/crash_logging.h" 10 #include "base/debug/crash_logging.h"
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 478
479 WebNodeList children = head.childNodes(); 479 WebNodeList children = head.childNodes();
480 for (size_t i = 0; i < children.length(); ++i) { 480 for (size_t i = 0; i < children.length(); ++i) {
481 WebNode node = children.item(i); 481 WebNode node = children.item(i);
482 if (!node.isElementNode()) 482 if (!node.isElementNode())
483 continue; 483 continue;
484 WebElement element = node.to<WebElement>(); 484 WebElement element = node.to<WebElement>();
485 if (!element.hasHTMLTagName(tag_name)) 485 if (!element.hasHTMLTagName(tag_name))
486 continue; 486 continue;
487 WebString value = element.getAttribute(attribute_name); 487 WebString value = element.getAttribute(attribute_name);
488 if (value.isNull() || !LowerCaseEqualsASCII(value, "refresh")) 488 if (value.isNull() || !base::LowerCaseEqualsASCII(value, "refresh"))
489 continue; 489 continue;
490 return true; 490 return true;
491 } 491 }
492 return false; 492 return false;
493 } 493 }
OLDNEW
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/renderer/extensions/webstore_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698