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

Side by Side Diff: chrome/renderer/pepper/pepper_flash_renderer_host.cc

Issue 2479093002: Migrate more files to histogram_macros.h from histogram.h. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « chrome/renderer/chrome_render_frame_observer.cc ('k') | chrome/renderer/plugins/plugin_uma.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 "chrome/renderer/pepper/pepper_flash_renderer_host.h" 5 #include "chrome/renderer/pepper/pepper_flash_renderer_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "components/pdf/renderer/pepper_pdf_host.h" 16 #include "components/pdf/renderer/pepper_pdf_host.h"
17 #include "content/public/renderer/pepper_plugin_instance.h" 17 #include "content/public/renderer/pepper_plugin_instance.h"
18 #include "content/public/renderer/render_thread.h" 18 #include "content/public/renderer/render_thread.h"
19 #include "content/public/renderer/renderer_ppapi_host.h" 19 #include "content/public/renderer/renderer_ppapi_host.h"
20 #include "ipc/ipc_message_macros.h" 20 #include "ipc/ipc_message_macros.h"
21 #include "net/http/http_util.h" 21 #include "net/http/http_util.h"
22 #include "ppapi/c/pp_errors.h" 22 #include "ppapi/c/pp_errors.h"
23 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" 23 #include "ppapi/c/trusted/ppb_browser_font_trusted.h"
24 #include "ppapi/host/dispatch_host_message.h" 24 #include "ppapi/host/dispatch_host_message.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 rect.point.x, rect.point.y, rect.size.width, rect.size.height))) 370 rect.point.x, rect.point.y, rect.size.width, rect.size.height)))
371 return PP_OK; 371 return PP_OK;
372 return PP_ERROR_FAILED; 372 return PP_ERROR_FAILED;
373 } 373 }
374 374
375 int32_t PepperFlashRendererHost::OnInvokePrinting( 375 int32_t PepperFlashRendererHost::OnInvokePrinting(
376 ppapi::host::HostMessageContext* host_context) { 376 ppapi::host::HostMessageContext* host_context) {
377 pdf::PepperPDFHost::InvokePrintingForInstance(pp_instance()); 377 pdf::PepperPDFHost::InvokePrintingForInstance(pp_instance());
378 return PP_OK; 378 return PP_OK;
379 } 379 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_frame_observer.cc ('k') | chrome/renderer/plugins/plugin_uma.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698