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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. 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
« no previous file with comments | « third_party/WebKit/public/platform/DEPS ('k') | third_party/WebKit/public/platform/core/DEPS » ('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) 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 class WebCookieJar; 73 class WebCookieJar;
74 class WebCrypto; 74 class WebCrypto;
75 class WebDatabaseObserver; 75 class WebDatabaseObserver;
76 class WebPlatformEventListener; 76 class WebPlatformEventListener;
77 class WebFallbackThemeEngine; 77 class WebFallbackThemeEngine;
78 class WebFileSystem; 78 class WebFileSystem;
79 class WebFileUtilities; 79 class WebFileUtilities;
80 class WebFlingAnimator; 80 class WebFlingAnimator;
81 class WebGestureCurve; 81 class WebGestureCurve;
82 class WebGraphicsContext3DProvider; 82 class WebGraphicsContext3DProvider;
83 class WebIDBFactory;
84 class WebImageCaptureFrameGrabber; 83 class WebImageCaptureFrameGrabber;
85 class WebInstalledApp; 84 class WebInstalledApp;
86 class WebMIDIAccessor; 85 class WebMIDIAccessor;
87 class WebMIDIAccessorClient; 86 class WebMIDIAccessorClient;
88 class WebMediaPlayer; 87 class WebMediaPlayer;
89 class WebMediaRecorderHandler; 88 class WebMediaRecorderHandler;
90 class WebMediaStream; 89 class WebMediaStream;
91 class WebMediaStreamCenter; 90 class WebMediaStreamCenter;
92 class WebMediaStreamCenterClient; 91 class WebMediaStreamCenterClient;
93 class WebMediaStreamTrack; 92 class WebMediaStreamTrack;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 virtual WebFileSystem* fileSystem() { return nullptr; } 222 virtual WebFileSystem* fileSystem() { return nullptr; }
224 223
225 // Return a filename-friendly identifier for an origin. 224 // Return a filename-friendly identifier for an origin.
226 virtual WebString fileSystemCreateOriginIdentifier(const WebSecurityOrigin& origin) { return WebString(); } 225 virtual WebString fileSystemCreateOriginIdentifier(const WebSecurityOrigin& origin) { return WebString(); }
227 226
228 // IDN conversion ------------------------------------------------------ 227 // IDN conversion ------------------------------------------------------
229 228
230 virtual WebString convertIDNToUnicode(const WebString& host) { return host; } 229 virtual WebString convertIDNToUnicode(const WebString& host) { return host; }
231 230
232 231
233 // IndexedDB ----------------------------------------------------------
234
235 // Must return non-null.
236 virtual WebIDBFactory* idbFactory() { return nullptr; }
237
238
239 // Cache Storage ---------------------------------------------------------- 232 // Cache Storage ----------------------------------------------------------
240 233
241 // The caller is responsible for deleting the returned object. 234 // The caller is responsible for deleting the returned object.
242 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) { return nullptr; } 235 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) { return nullptr; }
243 236
244 // Gamepad ------------------------------------------------------------- 237 // Gamepad -------------------------------------------------------------
245 238
246 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } 239 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; }
247 240
248 // History ------------------------------------------------------------- 241 // History -------------------------------------------------------------
(...skipping 344 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/platform/DEPS ('k') | third_party/WebKit/public/platform/core/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698