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

Side by Side Diff: webkit/browser/quota/mock_quota_manager.cc

Issue 18191004: webkit: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync+rebase Created 7 years, 5 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 "webkit/browser/quota/mock_quota_manager.h" 5 #include "webkit/browser/quota/mock_quota_manager.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "googleurl/src/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace quota { 17 namespace quota {
18 18
19 MockQuotaManager::OriginInfo::OriginInfo( 19 MockQuotaManager::OriginInfo::OriginInfo(
20 const GURL& origin, 20 const GURL& origin,
21 StorageType type, 21 StorageType type,
22 int quota_client_mask, 22 int quota_client_mask,
23 base::Time modified) 23 base::Time modified)
24 : origin(origin), 24 : origin(origin),
25 type(type), 25 type(type),
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 last_notified_delta_ = delta; 190 last_notified_delta_ = delta;
191 if (mock_manager()) 191 if (mock_manager())
192 mock_manager()->UpdateUsage(origin, type, delta); 192 mock_manager()->UpdateUsage(origin, type, delta);
193 } 193 }
194 194
195 MockQuotaManagerProxy::~MockQuotaManagerProxy() { 195 MockQuotaManagerProxy::~MockQuotaManagerProxy() {
196 DCHECK(!registered_client_); 196 DCHECK(!registered_client_);
197 } 197 }
198 198
199 } // namespace quota 199 } // namespace quota
OLDNEW
« no previous file with comments | « webkit/browser/quota/mock_quota_manager.h ('k') | webkit/browser/quota/mock_special_storage_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698