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

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: Mini fix Created 4 years, 9 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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 mojo::shell::mojom::InterfaceProviderRequest services_; 704 mojo::shell::mojom::InterfaceProviderRequest services_;
704 mojo::shell::mojom::InterfaceProviderPtr exposed_services_; 705 mojo::shell::mojom::InterfaceProviderPtr exposed_services_;
705 }; 706 };
706 707
707 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>> 708 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>>
708 PendingRenderFrameConnectMap; 709 PendingRenderFrameConnectMap;
709 PendingRenderFrameConnectMap pending_render_frame_connects_; 710 PendingRenderFrameConnectMap pending_render_frame_connects_;
710 711
711 StoragePartitionServicePtr storage_partition_service_; 712 StoragePartitionServicePtr storage_partition_service_;
712 713
714 // Callback for logging UMA user action.
715 base::ActionCallback action_callback_;
716
713 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 717 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
714 }; 718 };
715 719
716 #if defined(COMPILER_MSVC) 720 #if defined(COMPILER_MSVC)
717 #pragma warning(pop) 721 #pragma warning(pop)
718 #endif 722 #endif
719 723
720 } // namespace content 724 } // namespace content
721 725
722 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 726 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698