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

Side by Side Diff: Source/modules/indexeddb/IDBRequestTest.cpp

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
« no previous file with comments | « Source/modules/indexeddb/IDBRequest.h ('k') | Source/modules/indexeddb/IDBTransaction.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) 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 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 public: 109 public:
110 static PassOwnPtr<MockWebIDBDatabase> create() 110 static PassOwnPtr<MockWebIDBDatabase> create()
111 { 111 {
112 return adoptPtr(new MockWebIDBDatabase()); 112 return adoptPtr(new MockWebIDBDatabase());
113 } 113 }
114 virtual ~MockWebIDBDatabase() 114 virtual ~MockWebIDBDatabase()
115 { 115 {
116 EXPECT_TRUE(m_closeCalled); 116 EXPECT_TRUE(m_closeCalled);
117 } 117 }
118 118
119 virtual void close() OVERRIDE 119 virtual void close() override
120 { 120 {
121 m_closeCalled = true; 121 m_closeCalled = true;
122 } 122 }
123 virtual void abort(long long transactionId) OVERRIDE { } 123 virtual void abort(long long transactionId) override { }
124 124
125 private: 125 private:
126 MockWebIDBDatabase() 126 MockWebIDBDatabase()
127 : m_closeCalled(false) 127 : m_closeCalled(false)
128 { 128 {
129 } 129 }
130 130
131 bool m_closeCalled; 131 bool m_closeCalled;
132 }; 132 };
133 133
(...skipping 19 matching lines...) Expand all
153 IDBOpenDBRequest* request = IDBOpenDBRequest::create(scriptState(), call backs, transactionId, version); 153 IDBOpenDBRequest* request = IDBOpenDBRequest::create(scriptState(), call backs, transactionId, version);
154 EXPECT_EQ(request->readyState(), "pending"); 154 EXPECT_EQ(request->readyState(), "pending");
155 155
156 executionContext()->stopActiveDOMObjects(); 156 executionContext()->stopActiveDOMObjects();
157 request->onSuccess(backend.release(), metadata); 157 request->onSuccess(backend.release(), metadata);
158 } 158 }
159 } 159 }
160 160
161 } // namespace 161 } // namespace
162 } // namespace blink 162 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBRequest.h ('k') | Source/modules/indexeddb/IDBTransaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698