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

Side by Side Diff: content/renderer/pepper/url_request_info_util.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 "content/renderer/pepper/url_request_info_util.h" 5 #include "content/renderer/pepper/url_request_info_util.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/logging.h" 10 #include "base/logging.h"
8 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
9 #include "content/child/request_extra_data.h" 12 #include "content/child/request_extra_data.h"
10 #include "content/common/fileapi/file_system_messages.h" 13 #include "content/common/fileapi/file_system_messages.h"
11 #include "content/renderer/pepper/host_globals.h" 14 #include "content/renderer/pepper/host_globals.h"
12 #include "content/renderer/pepper/pepper_file_ref_renderer_host.h" 15 #include "content/renderer/pepper/pepper_file_ref_renderer_host.h"
13 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 16 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
14 #include "content/renderer/pepper/plugin_module.h" 17 #include "content/renderer/pepper/plugin_module.h"
15 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" 18 #include "content/renderer/pepper/renderer_ppapi_host_impl.h"
16 #include "content/renderer/render_thread_impl.h" 19 #include "content/renderer/render_thread_impl.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 } 241 }
239 242
240 bool URLRequestRequiresUniversalAccess(const URLRequestInfoData& data) { 243 bool URLRequestRequiresUniversalAccess(const URLRequestInfoData& data) {
241 return data.has_custom_referrer_url || 244 return data.has_custom_referrer_url ||
242 data.has_custom_content_transfer_encoding || 245 data.has_custom_content_transfer_encoding ||
243 data.has_custom_user_agent || 246 data.has_custom_user_agent ||
244 url::FindAndCompareScheme(data.url, url::kJavaScriptScheme, NULL); 247 url::FindAndCompareScheme(data.url, url::kJavaScriptScheme, NULL);
245 } 248 }
246 249
247 } // namespace content 250 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.cc ('k') | content/renderer/pepper/url_response_info_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698