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

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

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_FACTORY_H_
6 #define CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_FACTORY_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_FACTORY_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
12 #include "base/macros.h"
10 #include "content/browser/indexed_db/indexed_db_factory.h" 13 #include "content/browser/indexed_db/indexed_db_factory.h"
11 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
12 15
13 namespace content { 16 namespace content {
14 17
15 class MockIndexedDBFactory : public IndexedDBFactory { 18 class MockIndexedDBFactory : public IndexedDBFactory {
16 public: 19 public:
17 MockIndexedDBFactory(); 20 MockIndexedDBFactory();
18 MOCK_METHOD2(ReleaseDatabase, 21 MOCK_METHOD2(ReleaseDatabase,
19 void(const IndexedDBDatabase::Identifier& identifier, 22 void(const IndexedDBDatabase::Identifier& identifier,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 bool first_time, 78 bool first_time,
76 leveldb::Status* s)); 79 leveldb::Status* s));
77 80
78 private: 81 private:
79 DISALLOW_COPY_AND_ASSIGN(MockIndexedDBFactory); 82 DISALLOW_COPY_AND_ASSIGN(MockIndexedDBFactory);
80 }; 83 };
81 84
82 } // namespace content 85 } // namespace content
83 86
84 #endif // CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_FACTORY_H_ 87 #endif // CONTENT_BROWSER_INDEXED_DB_MOCK_INDEXED_DB_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/mock_indexed_db_database_callbacks.cc ('k') | content/browser/loader/async_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698