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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.h

Issue 2480293004: Mandate unique_ptr for base::IDMap in IDMapOwnPointer mode. (Closed)
Patch Set: Make changes requested by danakj, fix a few more headers Created 4 years 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_RENDERER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 return web_database_observer_impl_.get(); 235 return web_database_observer_impl_.get();
236 } 236 }
237 237
238 blink::WebURLLoader* createURLLoader() override; 238 blink::WebURLLoader* createURLLoader() override;
239 239
240 private: 240 private:
241 bool CheckPreparsedJsCachingEnabled() const; 241 bool CheckPreparsedJsCachingEnabled() const;
242 242
243 // Factory that takes a type and return PlatformEventObserverBase that matches 243 // Factory that takes a type and return PlatformEventObserverBase that matches
244 // it. 244 // it.
245 static PlatformEventObserverBase* CreatePlatformEventObserverFromType( 245 static std::unique_ptr<PlatformEventObserverBase>
246 blink::WebPlatformEventType type); 246 CreatePlatformEventObserverFromType(blink::WebPlatformEventType type);
247 247
248 // Use the data previously set via SetMockDevice...DataForTesting() and send 248 // Use the data previously set via SetMockDevice...DataForTesting() and send
249 // them to the registered listener. 249 // them to the registered listener.
250 void SendFakeDeviceEventDataForTesting(blink::WebPlatformEventType type); 250 void SendFakeDeviceEventDataForTesting(blink::WebPlatformEventType type);
251 251
252 std::unique_ptr<blink::WebThread> main_thread_; 252 std::unique_ptr<blink::WebThread> main_thread_;
253 253
254 std::unique_ptr<RendererClipboardDelegate> clipboard_delegate_; 254 std::unique_ptr<RendererClipboardDelegate> clipboard_delegate_;
255 std::unique_ptr<WebClipboardImpl> clipboard_; 255 std::unique_ptr<WebClipboardImpl> clipboard_;
256 256
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; 302 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_;
303 303
304 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; 304 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_;
305 305
306 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 306 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
307 }; 307 };
308 308
309 } // namespace content 309 } // namespace content
310 310
311 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 311 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/push_messaging/push_messaging_dispatcher.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698