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

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

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 { 54 {
55 return adoptRefWillBeNoop(new IDBVersionChangeEvent(eventType, initializ er)); 55 return adoptRefWillBeNoop(new IDBVersionChangeEvent(eventType, initializ er));
56 } 56 }
57 57
58 unsigned long long oldVersion() const { return m_oldVersion; } 58 unsigned long long oldVersion() const { return m_oldVersion; }
59 unsigned long long newVersion(bool& isNull) const; 59 unsigned long long newVersion(bool& isNull) const;
60 60
61 const AtomicString& dataLoss() const; 61 const AtomicString& dataLoss() const;
62 const String& dataLossMessage() const { return m_dataLossMessage; } 62 const String& dataLossMessage() const { return m_dataLossMessage; }
63 63
64 virtual const AtomicString& interfaceName() const override; 64 const AtomicString& interfaceName() const override;
65 65
66 DECLARE_VIRTUAL_TRACE(); 66 DECLARE_VIRTUAL_TRACE();
67 67
68 private: 68 private:
69 IDBVersionChangeEvent(); 69 IDBVersionChangeEvent();
70 IDBVersionChangeEvent(const AtomicString& eventType, unsigned long long oldV ersion, const Nullable<unsigned long long>& newVersion, WebIDBDataLoss, const St ring& dataLoss); 70 IDBVersionChangeEvent(const AtomicString& eventType, unsigned long long oldV ersion, const Nullable<unsigned long long>& newVersion, WebIDBDataLoss, const St ring& dataLoss);
71 IDBVersionChangeEvent(const AtomicString& eventType, const IDBVersionChangeE ventInit&); 71 IDBVersionChangeEvent(const AtomicString& eventType, const IDBVersionChangeE ventInit&);
72 72
73 unsigned long long m_oldVersion; 73 unsigned long long m_oldVersion;
74 Nullable<unsigned long long> m_newVersion; 74 Nullable<unsigned long long> m_newVersion;
75 WebIDBDataLoss m_dataLoss; 75 WebIDBDataLoss m_dataLoss;
76 String m_dataLossMessage; 76 String m_dataLossMessage;
77 }; 77 };
78 78
79 } // namespace blink 79 } // namespace blink
80 80
81 #endif // IDBVersionChangeEvent_h 81 #endif // IDBVersionChangeEvent_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBTransactionTest.cpp ('k') | Source/modules/indexeddb/InspectorIndexedDBAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698