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

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

Powered by Google App Engine
This is Rietveld 408576698