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

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

Issue 2329683002: Rename blobRegistry() functions and methods to getBlobRegistry(). (Closed)
Patch Set: 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/testing/TestingPlatformSupport.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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // MIDI ---------------------------------------------------------------- 178 // MIDI ----------------------------------------------------------------
179 179
180 // Creates a platform dependent WebMIDIAccessor. MIDIAccessor under platform 180 // Creates a platform dependent WebMIDIAccessor. MIDIAccessor under platform
181 // creates and owns it. 181 // creates and owns it.
182 virtual WebMIDIAccessor* createMIDIAccessor(WebMIDIAccessorClient*) { return nullptr; } 182 virtual WebMIDIAccessor* createMIDIAccessor(WebMIDIAccessorClient*) { return nullptr; }
183 183
184 184
185 // Blob ---------------------------------------------------------------- 185 // Blob ----------------------------------------------------------------
186 186
187 // Must return non-null. 187 // Must return non-null.
188 virtual WebBlobRegistry* blobRegistry() { return nullptr; } 188 virtual WebBlobRegistry* getBlobRegistry() { return nullptr; }
189 189
190 // Database ------------------------------------------------------------ 190 // Database ------------------------------------------------------------
191 191
192 // Opens a database file; dirHandle should be 0 if the caller does not need 192 // Opens a database file; dirHandle should be 0 if the caller does not need
193 // a handle to the directory containing this file 193 // a handle to the directory containing this file
194 virtual FileHandle databaseOpenFile(const WebString& vfsFileName, int desire dFlags) { return FileHandle(); } 194 virtual FileHandle databaseOpenFile(const WebString& vfsFileName, int desire dFlags) { return FileHandle(); }
195 195
196 // Deletes a database file and returns the error code 196 // Deletes a database file and returns the error code
197 virtual int databaseDeleteFile(const WebString& vfsFileName, bool syncDir) { return 0; } 197 virtual int databaseDeleteFile(const WebString& vfsFileName, bool syncDir) { return 0; }
198 198
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 protected: 574 protected:
575 Platform(); 575 Platform();
576 virtual ~Platform() { } 576 virtual ~Platform() { }
577 577
578 WebThread* m_mainThread; 578 WebThread* m_mainThread;
579 }; 579 };
580 580
581 } // namespace blink 581 } // namespace blink
582 582
583 #endif 583 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698