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

Side by Side Diff: Source/modules/webdatabase/SQLTransactionSync.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
« no previous file with comments | « Source/modules/webdatabase/SQLTransactionBackend.h ('k') | Source/modules/webmidi/MIDIAccess.h » ('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 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 20 matching lines...) Expand all
31 31
32 #ifndef SQLTransactionSync_h 32 #ifndef SQLTransactionSync_h
33 #define SQLTransactionSync_h 33 #define SQLTransactionSync_h
34 34
35 #include "bindings/v8/ScriptWrappable.h" 35 #include "bindings/v8/ScriptWrappable.h"
36 #include "modules/webdatabase/SQLTransactionBackendSync.h" 36 #include "modules/webdatabase/SQLTransactionBackendSync.h"
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 // Instances of this class should be created and used only on the worker's conte xt thread. 40 // Instances of this class should be created and used only on the worker's conte xt thread.
41 class SQLTransactionSync : public SQLTransactionBackendSync, public ScriptWrappa ble { 41 class SQLTransactionSync FINAL : public SQLTransactionBackendSync, public Script Wrappable {
42 public: 42 public:
43 static PassRefPtr<SQLTransactionSync> create(DatabaseSync*, PassOwnPtr<SQLTr ansactionSyncCallback>, bool readOnly = false); 43 static PassRefPtr<SQLTransactionSync> create(DatabaseSync*, PassOwnPtr<SQLTr ansactionSyncCallback>, bool readOnly = false);
44 44
45 static SQLTransactionSync* from(SQLTransactionBackendSync*); 45 static SQLTransactionSync* from(SQLTransactionBackendSync*);
46 46
47 private: 47 private:
48 SQLTransactionSync(DatabaseSync*, PassOwnPtr<SQLTransactionSyncCallback>, bo ol readOnly); 48 SQLTransactionSync(DatabaseSync*, PassOwnPtr<SQLTransactionSyncCallback>, bo ol readOnly);
49 }; 49 };
50 50
51 } // namespace WebCore 51 } // namespace WebCore
52 52
53 #endif // SQLTransactionSync_h 53 #endif // SQLTransactionSync_h
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/SQLTransactionBackend.h ('k') | Source/modules/webmidi/MIDIAccess.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698