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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 1683583002: Report user actions when gesture starts and stops in user_model. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 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 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/cancelable_callback.h" 15 #include "base/cancelable_callback.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/memory_pressure_listener.h" 17 #include "base/memory/memory_pressure_listener.h"
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 #include "base/metrics/user_metrics.h"
19 #include "base/metrics/user_metrics_action.h" 20 #include "base/metrics/user_metrics_action.h"
20 #include "base/observer_list.h" 21 #include "base/observer_list.h"
21 #include "base/strings/string16.h" 22 #include "base/strings/string16.h"
22 #include "base/threading/thread_checker.h" 23 #include "base/threading/thread_checker.h"
23 #include "base/timer/timer.h" 24 #include "base/timer/timer.h"
24 #include "build/build_config.h" 25 #include "build/build_config.h"
25 #include "content/child/child_thread_impl.h" 26 #include "content/child/child_thread_impl.h"
26 #include "content/common/content_export.h" 27 #include "content/common/content_export.h"
27 #include "content/common/frame_replication_state.h" 28 #include "content/common/frame_replication_state.h"
28 #include "content/common/gpu/client/gpu_channel_host.h" 29 #include "content/common/gpu/client/gpu_channel_host.h"
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 695
695 int routing_id_; 696 int routing_id_;
696 mojo::shell::mojom::InterfaceProviderRequest services_; 697 mojo::shell::mojom::InterfaceProviderRequest services_;
697 mojo::shell::mojom::InterfaceProviderPtr exposed_services_; 698 mojo::shell::mojom::InterfaceProviderPtr exposed_services_;
698 }; 699 };
699 700
700 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>> 701 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>>
701 PendingRenderFrameConnectMap; 702 PendingRenderFrameConnectMap;
702 PendingRenderFrameConnectMap pending_render_frame_connects_; 703 PendingRenderFrameConnectMap pending_render_frame_connects_;
703 704
705 // Callback for logging UMA user action.
706 base::ActionCallback action_callback_;
707
704 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 708 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
705 }; 709 };
706 710
707 #if defined(COMPILER_MSVC) 711 #if defined(COMPILER_MSVC)
708 #pragma warning(pop) 712 #pragma warning(pop)
709 #endif 713 #endif
710 714
711 } // namespace content 715 } // namespace content
712 716
713 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 717 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698