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

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

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | Annotate | Revision Log
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 #include "content/browser/quota_dispatcher_host.h" 5 #include "content/browser/quota_dispatcher_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/numerics/safe_conversions.h" 9 #include "base/numerics/safe_conversions.h"
10 #include "content/common/quota_messages.h" 10 #include "content/common/quota_messages.h"
11 #include "content/public/browser/quota_permission_context.h" 11 #include "content/public/browser/quota_permission_context.h"
12 #include "net/base/net_util.h" 12 #include "net/base/net_util.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 #include "webkit/browser/quota/quota_manager.h" 14 #include "storage/browser/quota/quota_manager.h"
15 15
16 using quota::QuotaClient; 16 using quota::QuotaClient;
17 using quota::QuotaManager; 17 using quota::QuotaManager;
18 using quota::QuotaStatusCode; 18 using quota::QuotaStatusCode;
19 using quota::StorageType; 19 using quota::StorageType;
20 20
21 namespace content { 21 namespace content {
22 22
23 // Created one per request to carry the request's request_id around. 23 // Created one per request to carry the request's request_id around.
24 // Dispatches requests from renderer/worker to the QuotaManager and 24 // Dispatches requests from renderer/worker to the QuotaManager and
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 return; 253 return;
254 } 254 }
255 255
256 RequestQuotaDispatcher* dispatcher = 256 RequestQuotaDispatcher* dispatcher =
257 new RequestQuotaDispatcher(weak_factory_.GetWeakPtr(), 257 new RequestQuotaDispatcher(weak_factory_.GetWeakPtr(),
258 params); 258 params);
259 dispatcher->Start(); 259 dispatcher->Start();
260 } 260 }
261 261
262 } // namespace content 262 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/quota_dispatcher_host.h ('k') | content/browser/renderer_host/database_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698