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

Side by Side Diff: components/html_viewer/blink_platform_impl.h

Issue 1186933004: Implement Platform::getUniqueIdForProcess. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add to components/html_viewer/blink_platform_impl.cc 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 | « no previous file | components/html_viewer/blink_platform_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/threading/thread_local_storage.h" 9 #include "base/threading/thread_local_storage.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual blink::WebMimeRegistry* mimeRegistry(); 47 virtual blink::WebMimeRegistry* mimeRegistry();
48 virtual blink::WebThemeEngine* themeEngine(); 48 virtual blink::WebThemeEngine* themeEngine();
49 virtual blink::WebString defaultLocale(); 49 virtual blink::WebString defaultLocale();
50 virtual blink::WebBlobRegistry* blobRegistry(); 50 virtual blink::WebBlobRegistry* blobRegistry();
51 virtual double currentTime(); 51 virtual double currentTime();
52 virtual double monotonicallyIncreasingTime(); 52 virtual double monotonicallyIncreasingTime();
53 virtual void cryptographicallyRandomValues(unsigned char* buffer, 53 virtual void cryptographicallyRandomValues(unsigned char* buffer,
54 size_t length); 54 size_t length);
55 virtual bool isThreadedCompositingEnabled(); 55 virtual bool isThreadedCompositingEnabled();
56 virtual blink::WebCompositorSupport* compositorSupport(); 56 virtual blink::WebCompositorSupport* compositorSupport();
57 uint32_t getUniqueIdForProcess() override;
57 void createMessageChannel(blink::WebMessagePortChannel** channel1, 58 void createMessageChannel(blink::WebMessagePortChannel** channel1,
58 blink::WebMessagePortChannel** channel2) override; 59 blink::WebMessagePortChannel** channel2) override;
59 virtual blink::WebURLLoader* createURLLoader(); 60 virtual blink::WebURLLoader* createURLLoader();
60 virtual blink::WebSocketHandle* createWebSocketHandle(); 61 virtual blink::WebSocketHandle* createWebSocketHandle();
61 virtual blink::WebString userAgent(); 62 virtual blink::WebString userAgent();
62 virtual blink::WebData parseDataURL( 63 virtual blink::WebData parseDataURL(
63 const blink::WebURL& url, blink::WebString& mime_type, 64 const blink::WebURL& url, blink::WebString& mime_type,
64 blink::WebString& charset); 65 blink::WebString& charset);
65 virtual bool isReservedIPAddress(const blink::WebString& host) const; 66 virtual bool isReservedIPAddress(const blink::WebString& host) const;
66 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 67 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 MockWebBlobRegistryImpl blob_registry_; 102 MockWebBlobRegistryImpl blob_registry_;
102 scoped_ptr<WebCookieJarImpl> cookie_jar_; 103 scoped_ptr<WebCookieJarImpl> cookie_jar_;
103 scoped_ptr<WebClipboardImpl> clipboard_; 104 scoped_ptr<WebClipboardImpl> clipboard_;
104 105
105 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); 106 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl);
106 }; 107 };
107 108
108 } // namespace html_viewer 109 } // namespace html_viewer
109 110
110 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 111 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698