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

Side by Side Diff: content/browser/quota_dispatcher_host.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years 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_QUOTA_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_
7 7
8 #include "base/id_map.h" 8 #include "base/id_map.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/browser_message_filter.h" 10 #include "content/public/browser/browser_message_filter.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 const GURL& origin_url, 45 const GURL& origin_url,
46 storage::StorageType type); 46 storage::StorageType type);
47 void OnRequestStorageQuota(const StorageQuotaParams& params); 47 void OnRequestStorageQuota(const StorageQuotaParams& params);
48 48
49 // The ID of this process. 49 // The ID of this process.
50 int process_id_; 50 int process_id_;
51 51
52 storage::QuotaManager* quota_manager_; 52 storage::QuotaManager* quota_manager_;
53 scoped_refptr<QuotaPermissionContext> permission_context_; 53 scoped_refptr<QuotaPermissionContext> permission_context_;
54 54
55 IDMap<RequestDispatcher, IDMapOwnPointer> outstanding_requests_; 55 IDMap<std::unique_ptr<RequestDispatcher>> outstanding_requests_;
56 56
57 base::WeakPtrFactory<QuotaDispatcherHost> weak_factory_; 57 base::WeakPtrFactory<QuotaDispatcherHost> weak_factory_;
58 58
59 DISALLOW_IMPLICIT_CONSTRUCTORS(QuotaDispatcherHost); 59 DISALLOW_IMPLICIT_CONSTRUCTORS(QuotaDispatcherHost);
60 }; 60 };
61 61
62 } // namespace content 62 } // namespace content
63 63
64 #endif // CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_ 64 #endif // CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/permissions/permission_service_impl.h ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698