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

Side by Side Diff: Source/modules/indexeddb/DOMWindowIndexedDatabase.h

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ 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) 2011, Google Inc. All rights reserved. 2 * Copyright (C) 2011, 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 met: 5 * modification, are permitted provided that the following conditions are met:
6 * 6 *
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 16 matching lines...) Expand all
27 #define DOMWindowIndexedDatabase_h 27 #define DOMWindowIndexedDatabase_h
28 28
29 #include "core/frame/DOMWindowProperty.h" 29 #include "core/frame/DOMWindowProperty.h"
30 #include "platform/Supplementable.h" 30 #include "platform/Supplementable.h"
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class IDBFactory; 34 class IDBFactory;
35 class DOMWindow; 35 class DOMWindow;
36 36
37 class DOMWindowIndexedDatabase : public DOMWindowProperty, public Supplement<DOM Window> { 37 class DOMWindowIndexedDatabase FINAL : public DOMWindowProperty, public Suppleme nt<DOMWindow> {
38 public: 38 public:
39 virtual ~DOMWindowIndexedDatabase(); 39 virtual ~DOMWindowIndexedDatabase();
40 static DOMWindowIndexedDatabase* from(DOMWindow*); 40 static DOMWindowIndexedDatabase* from(DOMWindow*);
41 41
42 static IDBFactory* indexedDB(DOMWindow*); 42 static IDBFactory* indexedDB(DOMWindow*);
43 43
44 virtual void willDestroyGlobalObjectInFrame() OVERRIDE; 44 virtual void willDestroyGlobalObjectInFrame() OVERRIDE;
45 virtual void willDetachGlobalObjectFromFrame() OVERRIDE; 45 virtual void willDetachGlobalObjectFromFrame() OVERRIDE;
46 46
47 private: 47 private:
48 explicit DOMWindowIndexedDatabase(DOMWindow*); 48 explicit DOMWindowIndexedDatabase(DOMWindow*);
49 49
50 IDBFactory* indexedDB(); 50 IDBFactory* indexedDB();
51 static const char* supplementName(); 51 static const char* supplementName();
52 52
53 DOMWindow* m_window; 53 DOMWindow* m_window;
54 RefPtr<IDBFactory> m_idbFactory; 54 RefPtr<IDBFactory> m_idbFactory;
55 }; 55 };
56 56
57 } // namespace WebCore 57 } // namespace WebCore
58 58
59 #endif // DOMWindowIndexedDatabase_h 59 #endif // DOMWindowIndexedDatabase_h
OLDNEW
« no previous file with comments | « Source/modules/imagebitmap/ImageBitmapFactories.h ('k') | Source/modules/indexeddb/IDBCursorWithValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698