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

Side by Side Diff: content/public/test/mock_render_thread.h

Issue 2446533003: Remove dead flush histograms code. (Closed)
Patch Set: rebase 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 | « content/public/renderer/render_thread.h ('k') | content/public/test/mock_render_thread.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 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void RecordComputedAction(const std::string& action) override; 70 void RecordComputedAction(const std::string& action) override;
71 std::unique_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( 71 std::unique_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer(
72 size_t buffer_size) override; 72 size_t buffer_size) override;
73 cc::SharedBitmapManager* GetSharedBitmapManager() override; 73 cc::SharedBitmapManager* GetSharedBitmapManager() override;
74 void RegisterExtension(v8::Extension* extension) override; 74 void RegisterExtension(v8::Extension* extension) override;
75 void ScheduleIdleHandler(int64_t initial_delay_ms) override; 75 void ScheduleIdleHandler(int64_t initial_delay_ms) override;
76 void IdleHandler() override; 76 void IdleHandler() override;
77 int64_t GetIdleNotificationDelayInMs() const override; 77 int64_t GetIdleNotificationDelayInMs() const override;
78 void SetIdleNotificationDelayInMs( 78 void SetIdleNotificationDelayInMs(
79 int64_t idle_notification_delay_in_ms) override; 79 int64_t idle_notification_delay_in_ms) override;
80 void UpdateHistograms(int sequence_number) override;
81 int PostTaskToAllWebWorkers(const base::Closure& closure) override; 80 int PostTaskToAllWebWorkers(const base::Closure& closure) override;
82 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; 81 bool ResolveProxy(const GURL& url, std::string* proxy_list) override;
83 base::WaitableEvent* GetShutdownEvent() override; 82 base::WaitableEvent* GetShutdownEvent() override;
84 #if defined(OS_WIN) 83 #if defined(OS_WIN)
85 void PreCacheFont(const LOGFONT& log_font) override; 84 void PreCacheFont(const LOGFONT& log_font) override;
86 void ReleaseCachedFonts() override; 85 void ReleaseCachedFonts() override;
87 #endif 86 #endif
88 ServiceManagerConnection* GetServiceManagerConnection() override; 87 ServiceManagerConnection* GetServiceManagerConnection() override;
89 service_manager::InterfaceRegistry* GetInterfaceRegistry() override; 88 service_manager::InterfaceRegistry* GetInterfaceRegistry() override;
90 service_manager::InterfaceProvider* GetRemoteInterfaces() override; 89 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_; 165 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_;
167 service_manager::mojom::InterfaceProviderRequest 166 service_manager::mojom::InterfaceProviderRequest
168 pending_remote_interface_provider_request_; 167 pending_remote_interface_provider_request_;
169 168
170 std::unique_ptr<mojom::RenderMessageFilter> mock_render_message_filter_; 169 std::unique_ptr<mojom::RenderMessageFilter> mock_render_message_filter_;
171 }; 170 };
172 171
173 } // namespace content 172 } // namespace content
174 173
175 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 174 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_thread.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698