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

Side by Side Diff: Source/modules/filesystem/DraggedIsolatedFileSystem.h

Issue 137923002: Update more modules/ classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
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 21 matching lines...) Expand all
32 #define DraggedIsolatedFileSystem_h 32 #define DraggedIsolatedFileSystem_h
33 33
34 #include "core/dom/DataObject.h" 34 #include "core/dom/DataObject.h"
35 #include "wtf/Forward.h" 35 #include "wtf/Forward.h"
36 #include "wtf/text/WTFString.h" 36 #include "wtf/text/WTFString.h"
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 class DOMFileSystem; 40 class DOMFileSystem;
41 41
42 class DraggedIsolatedFileSystem : public Supplement<DataObject> { 42 class DraggedIsolatedFileSystem FINAL : public Supplement<DataObject> {
43 public: 43 public:
44 ~DraggedIsolatedFileSystem(); 44 virtual ~DraggedIsolatedFileSystem();
45 45
46 static PassOwnPtr<DraggedIsolatedFileSystem> create(const String& filesystem Id) 46 static PassOwnPtr<DraggedIsolatedFileSystem> create(const String& filesystem Id)
47 { 47 {
48 return adoptPtr(new DraggedIsolatedFileSystem(filesystemId)); 48 return adoptPtr(new DraggedIsolatedFileSystem(filesystemId));
49 } 49 }
50 50
51 const String& filesystemId() const { return m_filesystemId; } 51 const String& filesystemId() const { return m_filesystemId; }
52 DOMFileSystem* getDOMFileSystem(ExecutionContext*); 52 DOMFileSystem* getDOMFileSystem(ExecutionContext*);
53 53
54 static const char* supplementName(); 54 static const char* supplementName();
55 static DraggedIsolatedFileSystem* from(DataObject* dataObject) { return stat ic_cast<DraggedIsolatedFileSystem*>(Supplement<DataObject>::from(dataObject, sup plementName())); } 55 static DraggedIsolatedFileSystem* from(DataObject* dataObject) { return stat ic_cast<DraggedIsolatedFileSystem*>(Supplement<DataObject>::from(dataObject, sup plementName())); }
56 56
57 private: 57 private:
58 DraggedIsolatedFileSystem(const String& filesystemId); 58 DraggedIsolatedFileSystem(const String& filesystemId);
59 RefPtr<DOMFileSystem> m_filesystem; 59 RefPtr<DOMFileSystem> m_filesystem;
60 String m_filesystemId; 60 String m_filesystemId;
61 }; 61 };
62 62
63 } // namespace WebCore 63 } // namespace WebCore
64 64
65 #endif // DraggedIsolatedFileSystem_h 65 #endif // DraggedIsolatedFileSystem_h
OLDNEW
« no previous file with comments | « Source/modules/device_orientation/DeviceOrientationEvent.h ('k') | Source/modules/geolocation/Geolocation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698