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

Side by Side Diff: chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (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 "chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h" 5 #include "chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "build/build_config.h"
8 #include "chrome/browser/content_settings/cookie_settings_factory.h" 9 #include "chrome/browser/content_settings/cookie_settings_factory.h"
9 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
10 #include "components/content_settings/core/browser/cookie_settings.h" 11 #include "components/content_settings/core/browser/cookie_settings.h"
11 #include "content/public/browser/browser_context.h" 12 #include "content/public/browser/browser_context.h"
12 #include "content/public/browser/browser_ppapi_host.h" 13 #include "content/public/browser/browser_ppapi_host.h"
13 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/render_process_host.h" 15 #include "content/public/browser/render_process_host.h"
15 #include "ipc/ipc_message_macros.h" 16 #include "ipc/ipc_message_macros.h"
16 #include "ppapi/c/pp_errors.h" 17 #include "ppapi/c/pp_errors.h"
17 #include "ppapi/c/private/ppb_flash.h" 18 #include "ppapi/c/private/ppb_flash.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 restrictions = PP_FLASHLSORESTRICTIONS_BLOCK; 157 restrictions = PP_FLASHLSORESTRICTIONS_BLOCK;
157 else if (cookie_settings_->IsCookieSessionOnly(plugin_url)) 158 else if (cookie_settings_->IsCookieSessionOnly(plugin_url))
158 restrictions = PP_FLASHLSORESTRICTIONS_IN_MEMORY; 159 restrictions = PP_FLASHLSORESTRICTIONS_IN_MEMORY;
159 } 160 }
160 SendReply(reply_context, 161 SendReply(reply_context,
161 PpapiPluginMsg_Flash_GetLocalDataRestrictionsReply( 162 PpapiPluginMsg_Flash_GetLocalDataRestrictionsReply(
162 static_cast<int32_t>(restrictions))); 163 static_cast<int32_t>(restrictions)));
163 } 164 }
164 165
165 } // namespace chrome 166 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698