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

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

Issue 2732213004: Move FieldTrialRecorder mojom to content (Closed)
Patch Set: review Created 3 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_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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 int32_t GetClientId() override; 83 int32_t GetClientId() override;
84 scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() override; 84 scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() override;
85 scoped_refptr<base::SingleThreadTaskRunner> GetLoadingTaskRunner() override; 85 scoped_refptr<base::SingleThreadTaskRunner> GetLoadingTaskRunner() override;
86 #if defined(OS_WIN) 86 #if defined(OS_WIN)
87 void PreCacheFont(const LOGFONT& log_font) override; 87 void PreCacheFont(const LOGFONT& log_font) override;
88 void ReleaseCachedFonts() override; 88 void ReleaseCachedFonts() override;
89 #endif 89 #endif
90 ServiceManagerConnection* GetServiceManagerConnection() override; 90 ServiceManagerConnection* GetServiceManagerConnection() override;
91 service_manager::InterfaceRegistry* GetInterfaceRegistry() override; 91 service_manager::InterfaceRegistry* GetInterfaceRegistry() override;
92 service_manager::InterfaceProvider* GetRemoteInterfaces() override; 92 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
93 void SetFieldTrialGroup(const std::string& trial_name,
94 const std::string& group_name) override;
93 95
94 ////////////////////////////////////////////////////////////////////////// 96 //////////////////////////////////////////////////////////////////////////
95 // The following functions are called by the test itself. 97 // The following functions are called by the test itself.
96 98
97 void set_routing_id(int32_t id) { routing_id_ = id; } 99 void set_routing_id(int32_t id) { routing_id_ = id; }
98 100
99 int32_t opener_id() const { return opener_id_; } 101 int32_t opener_id() const { return opener_id_; }
100 102
101 void set_new_window_routing_id(int32_t id) { new_window_routing_id_ = id; } 103 void set_new_window_routing_id(int32_t id) { new_window_routing_id_ = id; }
102 104
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_; 170 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_;
169 service_manager::mojom::InterfaceProviderRequest 171 service_manager::mojom::InterfaceProviderRequest
170 pending_remote_interface_provider_request_; 172 pending_remote_interface_provider_request_;
171 173
172 std::unique_ptr<mojom::RenderMessageFilter> mock_render_message_filter_; 174 std::unique_ptr<mojom::RenderMessageFilter> mock_render_message_filter_;
173 }; 175 };
174 176
175 } // namespace content 177 } // namespace content
176 178
177 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 179 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698