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

Side by Side Diff: Source/core/fileapi/Blob.h

Issue 132233004: Update remaining core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/fileapi/Blob.cpp » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 PassRefPtr<BlobDataHandle> blobDataHandle() const { return m_blobDataHandle; } 65 PassRefPtr<BlobDataHandle> blobDataHandle() const { return m_blobDataHandle; }
66 // True for all File instances, including the user-built ones. 66 // True for all File instances, including the user-built ones.
67 virtual bool isFile() const { return false; } 67 virtual bool isFile() const { return false; }
68 // Only true for File instances that are backed by platform files. 68 // Only true for File instances that are backed by platform files.
69 virtual bool hasBackingFile() const { return false; } 69 virtual bool hasBackingFile() const { return false; }
70 70
71 // Used by the JavaScript Blob and File constructors. 71 // Used by the JavaScript Blob and File constructors.
72 virtual void appendTo(BlobData&) const; 72 virtual void appendTo(BlobData&) const;
73 73
74 // URLRegistrable to support PublicURLs. 74 // URLRegistrable to support PublicURLs.
75 virtual URLRegistry& registry() const OVERRIDE; 75 virtual URLRegistry& registry() const OVERRIDE FINAL;
76 76
77 static void clampSliceOffsets(long long size, long long& start, long long& e nd); 77 static void clampSliceOffsets(long long size, long long& start, long long& e nd);
78 protected: 78 protected:
79 explicit Blob(PassRefPtr<BlobDataHandle>); 79 explicit Blob(PassRefPtr<BlobDataHandle>);
80 80
81 private: 81 private:
82 Blob(); 82 Blob();
83 RefPtr<BlobDataHandle> m_blobDataHandle; 83 RefPtr<BlobDataHandle> m_blobDataHandle;
84 }; 84 };
85 85
86 } // namespace WebCore 86 } // namespace WebCore
87 87
88 #endif // Blob_h 88 #endif // Blob_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/fileapi/Blob.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698