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

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

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 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 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 "storage/browser/quota/quota_manager.h"
13 #include "url/gurl.h" 14 #include "url/gurl.h"
14 #include "webkit/browser/quota/quota_manager.h"
15 15
16 using storage::QuotaClient; 16 using storage::QuotaClient;
17 using storage::QuotaManager; 17 using storage::QuotaManager;
18 using storage::QuotaStatusCode; 18 using storage::QuotaStatusCode;
19 using storage::StorageType; 19 using storage::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/usage_tracker_unittest.cc ('k') | content/browser/renderer_host/database_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698