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

Side by Side Diff: public/web/WebCommonWorkerClient.h

Issue 50773002: Introduce WebWorkerPermissionClientProxy to deprecate WorkerAllowMainThreadBridge (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: updated comments, minor code fix Created 7 years, 1 month 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 | « Source/web/web.gypi ('k') | public/web/WebFrameClient.h » ('j') | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 30 matching lines...) Expand all
41 namespace WebKit { 41 namespace WebKit {
42 42
43 class WebApplicationCacheHost; 43 class WebApplicationCacheHost;
44 class WebApplicationCacheHostClient; 44 class WebApplicationCacheHostClient;
45 class WebFrame; 45 class WebFrame;
46 class WebNotificationPresenter; 46 class WebNotificationPresenter;
47 class WebString; 47 class WebString;
48 class WebWorker; 48 class WebWorker;
49 class WebWorkerClient; 49 class WebWorkerClient;
50 50
51 // FIXME: Deprecate this.
51 class WebCommonWorkerClient { 52 class WebCommonWorkerClient {
52 public: 53 public:
53 // Called on the main webkit thread before opening a web database. 54 // Called on the main webkit thread before opening a web database.
54 virtual bool allowDatabase(WebFrame*, const WebString& name, const WebString & displayName, unsigned long estimatedSize) 55 virtual bool allowDatabase(WebFrame*, const WebString& name, const WebString & displayName, unsigned long estimatedSize)
55 { 56 {
56 return true; 57 return true;
57 } 58 }
58 59
59 // Called on the main webkit thread before opening a file system. 60 // Called on the main webkit thread before opening a file system.
60 virtual bool allowFileSystem() 61 virtual bool allowFileSystem()
61 { 62 {
62 return true; 63 return true;
63 } 64 }
64 65
65 // Called on the main webkit thread before opening an indexed database. 66 // Called on the main webkit thread before opening an indexed database.
66 virtual bool allowIndexedDB(const WebString& name) 67 virtual bool allowIndexedDB(const WebString& name)
67 { 68 {
68 return true; 69 return true;
69 } 70 }
70 }; 71 };
71 72
72 } // namespace WebKit 73 } // namespace WebKit
73 74
74 #endif 75 #endif
OLDNEW
« no previous file with comments | « Source/web/web.gypi ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698