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

Side by Side Diff: webkit/support/test_shell_webmimeregistry_impl.cc

Issue 16739016: Use a direct include of strings headers in webkit/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing include from ordering Created 7 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 | Annotate | Revision Log
« no previous file with comments | « webkit/support/simple_resource_loader_bridge.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/support/test_shell_webmimeregistry_impl.h" 5 #include "webkit/support/test_shell_webmimeregistry_impl.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "net/base/mime_util.h" 9 #include "net/base/mime_util.h"
10 #include "third_party/WebKit/public/platform/WebString.h" 10 #include "third_party/WebKit/public/platform/WebString.h"
11 11
12 using WebKit::WebString; 12 using WebKit::WebString;
13 using WebKit::WebMimeRegistry; 13 using WebKit::WebMimeRegistry;
14 14
15 namespace { 15 namespace {
16 16
17 // Convert a WebString to ASCII, falling back on an empty string in the case 17 // Convert a WebString to ASCII, falling back on an empty string in the case
18 // of a non-ASCII string. 18 // of a non-ASCII string.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 bool TestShellWebMimeRegistryImpl::HasBlacklistedMediaCodecs( 61 bool TestShellWebMimeRegistryImpl::HasBlacklistedMediaCodecs(
62 const std::vector<std::string>& codecs) { 62 const std::vector<std::string>& codecs) {
63 for (size_t i = 0; i < codecs.size(); ++i) { 63 for (size_t i = 0; i < codecs.size(); ++i) {
64 for (size_t j = 0; j < blacklisted_media_codecs_.size(); ++j) { 64 for (size_t j = 0; j < blacklisted_media_codecs_.size(); ++j) {
65 if (blacklisted_media_codecs_[j] == codecs[i]) 65 if (blacklisted_media_codecs_[j] == codecs[i])
66 return true; 66 return true;
67 } 67 }
68 } 68 }
69 return false; 69 return false;
70 } 70 }
OLDNEW
« no previous file with comments | « webkit/support/simple_resource_loader_bridge.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698