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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 2194973002: Fix linker warning in broadcast_channel.mojom-blink.obj. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tighten deps Created 4 years, 4 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 class WebMediaStream; 90 class WebMediaStream;
91 class WebMediaStreamCenter; 91 class WebMediaStreamCenter;
92 class WebMediaStreamCenterClient; 92 class WebMediaStreamCenterClient;
93 class WebMediaStreamTrack; 93 class WebMediaStreamTrack;
94 class WebMessagePortChannel; 94 class WebMessagePortChannel;
95 class WebMimeRegistry; 95 class WebMimeRegistry;
96 class WebNotificationManager; 96 class WebNotificationManager;
97 class WebPluginListBuilder; 97 class WebPluginListBuilder;
98 class WebPrescientNetworking; 98 class WebPrescientNetworking;
99 class WebProcessMemoryDump; 99 class WebProcessMemoryDump;
100 class WebPublicSuffixList;
101 class WebPushProvider; 100 class WebPushProvider;
102 class WebRTCCertificateGenerator; 101 class WebRTCCertificateGenerator;
103 class WebRTCPeerConnectionHandler; 102 class WebRTCPeerConnectionHandler;
104 class WebRTCPeerConnectionHandlerClient; 103 class WebRTCPeerConnectionHandlerClient;
105 class WebSandboxSupport; 104 class WebSandboxSupport;
106 class WebScrollbarBehavior; 105 class WebScrollbarBehavior;
107 class WebSecurityOrigin; 106 class WebSecurityOrigin;
108 class WebServiceWorkerCacheStorage; 107 class WebServiceWorkerCacheStorage;
109 class WebSocketHandle; 108 class WebSocketHandle;
110 class WebSpeechSynthesizer; 109 class WebSpeechSynthesizer;
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 // if the headers part ends in |bytes[0..size]|. Returns false otherwise. 323 // if the headers part ends in |bytes[0..size]|. Returns false otherwise.
325 virtual bool parseMultipartHeadersFromBody(const char* bytes, size_t /* size */, WebURLResponse*, size_t* end) const { return false; } 324 virtual bool parseMultipartHeadersFromBody(const char* bytes, size_t /* size */, WebURLResponse*, size_t* end) const { return false; }
326 325
327 // Plugins ------------------------------------------------------------- 326 // Plugins -------------------------------------------------------------
328 327
329 // If refresh is true, then cached information should not be used to 328 // If refresh is true, then cached information should not be used to
330 // satisfy this call. 329 // satisfy this call.
331 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } 330 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { }
332 331
333 332
334 // Public Suffix List --------------------------------------------------
335
336 // May return null on some platforms.
337 virtual WebPublicSuffixList* publicSuffixList() { return nullptr; }
338
339
340 // Resources ----------------------------------------------------------- 333 // Resources -----------------------------------------------------------
341 334
342 // Returns a localized string resource (with substitution parameters). 335 // Returns a localized string resource (with substitution parameters).
343 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We bString(); } 336 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We bString(); }
344 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt ring& parameter) { return WebString(); } 337 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt ring& parameter) { return WebString(); }
345 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt ring& parameter1, const WebString& parameter2) { return WebString(); } 338 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt ring& parameter1, const WebString& parameter2) { return WebString(); }
346 339
347 340
348 // Threads ------------------------------------------------------- 341 // Threads -------------------------------------------------------
349 342
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 protected: 586 protected:
594 Platform(); 587 Platform();
595 virtual ~Platform() { } 588 virtual ~Platform() { }
596 589
597 WebThread* m_mainThread; 590 WebThread* m_mainThread;
598 }; 591 };
599 592
600 } // namespace blink 593 } // namespace blink
601 594
602 #endif 595 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/platform/WebPublicSuffixList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698