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

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

Issue 399313006: Move bit_cast from base/macros.h to its own header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromeos compile after r368203 Created 4 years, 11 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 | « components/webcrypto/algorithms/rsa_oaep.cc ('k') | courgette/difference_estimator.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 "content/renderer/pepper/pepper_plugin_instance_impl.h" 5 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bit_cast.h"
10 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
11 #include "base/location.h" 12 #include "base/location.h"
12 #include "base/logging.h" 13 #include "base/logging.h"
13 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
14 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
15 #include "base/stl_util.h" 16 #include "base/stl_util.h"
16 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
17 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_offset_string_conversions.h" 19 #include "base/strings/utf_offset_string_conversions.h"
19 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
(...skipping 3270 matching lines...) Expand 10 before | Expand all | Expand 10 after
3290 3291
3291 void PepperPluginInstanceImpl::RecordFlashJavaScriptUse() { 3292 void PepperPluginInstanceImpl::RecordFlashJavaScriptUse() {
3292 if (initialized_ && !javascript_used_ && is_flash_plugin_) { 3293 if (initialized_ && !javascript_used_ && is_flash_plugin_) {
3293 javascript_used_ = true; 3294 javascript_used_ = true;
3294 RenderThread::Get()->RecordAction( 3295 RenderThread::Get()->RecordAction(
3295 base::UserMetricsAction("Flash.JavaScriptUsed")); 3296 base::UserMetricsAction("Flash.JavaScriptUsed"));
3296 } 3297 }
3297 } 3298 }
3298 3299
3299 } // namespace content 3300 } // namespace content
OLDNEW
« no previous file with comments | « components/webcrypto/algorithms/rsa_oaep.cc ('k') | courgette/difference_estimator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698