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

Side by Side Diff: content/child/indexed_db/mock_webidbcallbacks.h

Issue 2370643004: Port messages sent by WebIDBFactoryImpl to Mojo. (Closed)
Patch Set: Require explicit wrapping when discarding map keys. Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CHILD_INDEXED_DB_MOCK_WEBIDBCALLBACKS_H_ 5 #ifndef CONTENT_CHILD_INDEXED_DB_MOCK_WEBIDBCALLBACKS_H_
6 #define CONTENT_CHILD_INDEXED_DB_MOCK_WEBIDBCALLBACKS_H_ 6 #define CONTENT_CHILD_INDEXED_DB_MOCK_WEBIDBCALLBACKS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 #include "third_party/WebKit/public/platform/WebBlobInfo.h" 10 #include "third_party/WebKit/public/platform/WebBlobInfo.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 MOCK_METHOD1(onSuccess, void(const blink::WebVector<blink::WebIDBValue>&)); 42 MOCK_METHOD1(onSuccess, void(const blink::WebVector<blink::WebIDBValue>&));
43 MOCK_METHOD1(onSuccess, void(long long)); 43 MOCK_METHOD1(onSuccess, void(long long));
44 MOCK_METHOD0(onSuccess, void()); 44 MOCK_METHOD0(onSuccess, void());
45 MOCK_METHOD1(onBlocked, void(long long oldVersion)); 45 MOCK_METHOD1(onBlocked, void(long long oldVersion));
46 MOCK_METHOD5(onUpgradeNeeded, 46 MOCK_METHOD5(onUpgradeNeeded,
47 void(long long oldVersion, 47 void(long long oldVersion,
48 blink::WebIDBDatabase*, 48 blink::WebIDBDatabase*,
49 const blink::WebIDBMetadata&, 49 const blink::WebIDBMetadata&,
50 unsigned short dataLoss, 50 unsigned short dataLoss,
51 blink::WebString dataLossMessage)); 51 blink::WebString dataLossMessage));
52 MOCK_METHOD0(detach, void());
52 53
53 private: 54 private:
54 DISALLOW_COPY_AND_ASSIGN(MockWebIDBCallbacks); 55 DISALLOW_COPY_AND_ASSIGN(MockWebIDBCallbacks);
55 }; 56 };
56 57
57 } // namespace content 58 } // namespace content
58 59
59 #endif // CONTENT_CHILD_INDEXED_DB_MOCK_WEBIDBCALLBACKS_H_ 60 #endif // CONTENT_CHILD_INDEXED_DB_MOCK_WEBIDBCALLBACKS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698