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

Side by Side Diff: content/browser/indexed_db/mock_indexed_db_database_callbacks.h

Issue 602883003: Replacing the OVERRIDE with override and FINAL with final in content/browser/indexed_db (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_DATABASE_CALLBACKS_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_DATABASE_CALLBACKS_H_
6 #define CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_DATABASE_CALLBACKS_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_DATABASE_CALLBACKS_H_
7 7
8 #include "content/browser/indexed_db/indexed_db_callbacks.h" 8 #include "content/browser/indexed_db/indexed_db_callbacks.h"
9 #include "content/browser/indexed_db/indexed_db_connection.h" 9 #include "content/browser/indexed_db/indexed_db_connection.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 class MockIndexedDBDatabaseCallbacks : public IndexedDBDatabaseCallbacks { 13 class MockIndexedDBDatabaseCallbacks : public IndexedDBDatabaseCallbacks {
14 public: 14 public:
15 MockIndexedDBDatabaseCallbacks(); 15 MockIndexedDBDatabaseCallbacks();
16 16
17 virtual void OnVersionChange(int64 old_version, int64 new_version) OVERRIDE {} 17 virtual void OnVersionChange(int64 old_version, int64 new_version) override {}
18 virtual void OnForcedClose() OVERRIDE; 18 virtual void OnForcedClose() override;
19 virtual void OnAbort(int64 transaction_id, 19 virtual void OnAbort(int64 transaction_id,
20 const IndexedDBDatabaseError& error) OVERRIDE; 20 const IndexedDBDatabaseError& error) override;
21 virtual void OnComplete(int64 transaction_id) OVERRIDE {} 21 virtual void OnComplete(int64 transaction_id) override {}
22 22
23 bool abort_called() const { return abort_called_; } 23 bool abort_called() const { return abort_called_; }
24 bool forced_close_called() const { return forced_close_called_; } 24 bool forced_close_called() const { return forced_close_called_; }
25 25
26 private: 26 private:
27 virtual ~MockIndexedDBDatabaseCallbacks() {} 27 virtual ~MockIndexedDBDatabaseCallbacks() {}
28 28
29 bool abort_called_; 29 bool abort_called_;
30 bool forced_close_called_; 30 bool forced_close_called_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(MockIndexedDBDatabaseCallbacks); 32 DISALLOW_COPY_AND_ASSIGN(MockIndexedDBDatabaseCallbacks);
33 }; 33 };
34 34
35 } // namespace content 35 } // namespace content
36 36
37 #endif // CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_DATABASE_CALLBACKS_H_ 37 #endif // CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_DATABASE_CALLBACKS_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/mock_indexed_db_callbacks.h ('k') | content/browser/indexed_db/mock_indexed_db_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698