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

Side by Side Diff: chrome/renderer/plugins/power_saver_info.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stddef.h>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
6 #include "base/metrics/histogram_macros.h" 8 #include "base/metrics/histogram_macros.h"
7 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/renderer/plugins/power_saver_info.h" 10 #include "chrome/renderer/plugins/power_saver_info.h"
9 #include "content/public/common/content_constants.h" 11 #include "content/public/common/content_constants.h"
10 #include "content/public/common/content_switches.h" 12 #include "content/public/common/content_switches.h"
11 #include "content/public/common/webplugininfo.h" 13 #include "content/public/common/webplugininfo.h"
12 #include "content/public/renderer/render_frame.h" 14 #include "content/public/renderer/render_frame.h"
13 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" 15 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
14 #include "third_party/WebKit/public/web/WebLocalFrame.h" 16 #include "third_party/WebKit/public/web/WebLocalFrame.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 info.poster_attribute = GetPluginInstancePosterAttribute(params); 117 info.poster_attribute = GetPluginInstancePosterAttribute(params);
116 info.base_url = document_url; 118 info.base_url = document_url;
117 } 119 }
118 } 120 }
119 121
120 if (is_flash) 122 if (is_flash)
121 TrackPosterParamPresence(params, info.power_saver_enabled); 123 TrackPosterParamPresence(params, info.power_saver_enabled);
122 124
123 return info; 125 return info;
124 } 126 }
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/plugin_uma.cc ('k') | chrome/renderer/prerender/prerender_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698