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

Side by Side Diff: content/browser/quota/mock_quota_manager.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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_QUOTA_MOCK_QUOTA_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
6 #define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ 6 #define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory>
11 #include <set> 12 #include <set>
12 #include <utility> 13 #include <utility>
13 #include <vector> 14 #include <vector>
14 15
15 #include "base/macros.h" 16 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h"
17 #include "storage/browser/quota/quota_client.h" 17 #include "storage/browser/quota/quota_client.h"
18 #include "storage/browser/quota/quota_manager.h" 18 #include "storage/browser/quota/quota_manager.h"
19 #include "storage/browser/quota/quota_task.h" 19 #include "storage/browser/quota/quota_task.h"
20 #include "storage/common/quota/quota_types.h" 20 #include "storage/common/quota/quota_types.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
22 22
23 using storage::GetOriginsCallback; 23 using storage::GetOriginsCallback;
24 using storage::QuotaClient; 24 using storage::QuotaClient;
25 using storage::QuotaManager; 25 using storage::QuotaManager;
26 using storage::QuotaStatusCode; 26 using storage::QuotaStatusCode;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 std::vector<OriginInfo> origins_; 145 std::vector<OriginInfo> origins_;
146 UsageAndQuotaMap usage_and_quota_map_; 146 UsageAndQuotaMap usage_and_quota_map_;
147 base::WeakPtrFactory<MockQuotaManager> weak_factory_; 147 base::WeakPtrFactory<MockQuotaManager> weak_factory_;
148 148
149 DISALLOW_COPY_AND_ASSIGN(MockQuotaManager); 149 DISALLOW_COPY_AND_ASSIGN(MockQuotaManager);
150 }; 150 };
151 151
152 } // namespace content 152 } // namespace content
153 153
154 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ 154 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/push_messaging/push_messaging_message_filter.cc ('k') | content/browser/quota/mock_quota_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698