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

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

Issue 1184523003: attachment broker wip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor comments. Created 5 years, 6 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
« no previous file with comments | « content/public/common/child_process_host.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 "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void SetIdleNotificationDelayInMs( 70 void SetIdleNotificationDelayInMs(
71 int64 idle_notification_delay_in_ms) override; 71 int64 idle_notification_delay_in_ms) override;
72 void UpdateHistograms(int sequence_number) override; 72 void UpdateHistograms(int sequence_number) override;
73 int PostTaskToAllWebWorkers(const base::Closure& closure) override; 73 int PostTaskToAllWebWorkers(const base::Closure& closure) override;
74 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; 74 bool ResolveProxy(const GURL& url, std::string* proxy_list) override;
75 base::WaitableEvent* GetShutdownEvent() override; 75 base::WaitableEvent* GetShutdownEvent() override;
76 #if defined(OS_WIN) 76 #if defined(OS_WIN)
77 void PreCacheFont(const LOGFONT& log_font) override; 77 void PreCacheFont(const LOGFONT& log_font) override;
78 void ReleaseCachedFonts() override; 78 void ReleaseCachedFonts() override;
79 #endif 79 #endif
80 IPC::AttachmentBroker* GetAttachmentBroker() override;
80 ServiceRegistry* GetServiceRegistry() override; 81 ServiceRegistry* GetServiceRegistry() override;
81 82
82 ////////////////////////////////////////////////////////////////////////// 83 //////////////////////////////////////////////////////////////////////////
83 // The following functions are called by the test itself. 84 // The following functions are called by the test itself.
84 85
85 void set_routing_id(int32 id) { 86 void set_routing_id(int32 id) {
86 routing_id_ = id; 87 routing_id_ = id;
87 } 88 }
88 89
89 void set_surface_id(int32 id) { 90 void set_surface_id(int32 id) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 170
170 // Observers to notify. 171 // Observers to notify.
171 base::ObserverList<RenderProcessObserver> observers_; 172 base::ObserverList<RenderProcessObserver> observers_;
172 173
173 cc::TestSharedBitmapManager shared_bitmap_manager_; 174 cc::TestSharedBitmapManager shared_bitmap_manager_;
174 }; 175 };
175 176
176 } // namespace content 177 } // namespace content
177 178
178 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 179 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « content/public/common/child_process_host.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698