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

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

Issue 2156803002: [HBD] Remove PluginCache and reload plugin list when origin changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 4 years, 3 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 | « third_party/WebKit/Source/platform/plugins/PluginData.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 321
322 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError (); } 322 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError (); }
323 323
324 // Returns true and stores the position of the end of the headers to |*end| 324 // Returns true and stores the position of the end of the headers to |*end|
325 // if the headers part ends in |bytes[0..size]|. Returns false otherwise. 325 // if the headers part ends in |bytes[0..size]|. Returns false otherwise.
326 virtual bool parseMultipartHeadersFromBody(const char* bytes, size_t /* size */, WebURLResponse*, size_t* end) const { return false; } 326 virtual bool parseMultipartHeadersFromBody(const char* bytes, size_t /* size */, WebURLResponse*, size_t* end) const { return false; }
327 327
328 // Plugins ------------------------------------------------------------- 328 // Plugins -------------------------------------------------------------
329 329
330 // If refresh is true, then cached information should not be used to 330 // If refresh is true, then cached information should not be used to
331 // satisfy this call. 331 // satisfy this call. mainFrameOrigin is used by the browser process to
332 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } 332 // filter plugins from the plugin list based on content settings.
333 333 virtual void getPluginList(bool refresh, const WebSecurityOrigin& mainFrameO rigin, WebPluginListBuilder*) {}
334 334
335 // Public Suffix List -------------------------------------------------- 335 // Public Suffix List --------------------------------------------------
336 336
337 // May return null on some platforms. 337 // May return null on some platforms.
338 virtual WebPublicSuffixList* publicSuffixList() { return nullptr; } 338 virtual WebPublicSuffixList* publicSuffixList() { return nullptr; }
339 339
340 340
341 // Resources ----------------------------------------------------------- 341 // Resources -----------------------------------------------------------
342 342
343 // Returns a localized string resource (with substitution parameters). 343 // Returns a localized string resource (with substitution parameters).
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 protected: 578 protected:
579 Platform(); 579 Platform();
580 virtual ~Platform() { } 580 virtual ~Platform() { }
581 581
582 WebThread* m_mainThread; 582 WebThread* m_mainThread;
583 }; 583 };
584 584
585 } // namespace blink 585 } // namespace blink
586 586
587 #endif 587 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/plugins/PluginData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698