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

Side by Side Diff: webkit/quota/mock_storage_client.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/quota/mock_storage_client.h" 5 #include "webkit/quota/mock_storage_client.h"
6 6
7 #include "base/atomic_sequence_num.h" 7 #include "base/atomic_sequence_num.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
11 #include "base/message_loop_proxy.h" 11 #include "base/message_loop_proxy.h"
12 #include "base/stl_util-inl.h" 12 #include "base/stl_util.h"
13 #include "net/base/net_util.h" 13 #include "net/base/net_util.h"
14 #include "webkit/quota/quota_manager.h" 14 #include "webkit/quota/quota_manager.h"
15 15
16 using base::AtomicSequenceNumber; 16 using base::AtomicSequenceNumber;
17 17
18 namespace quota { 18 namespace quota {
19 19
20 namespace { 20 namespace {
21 21
22 using std::make_pair; 22 using std::make_pair;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 quota_manager_proxy_-> 201 quota_manager_proxy_->
202 NotifyStorageModified(id(), origin_url, type, -delta); 202 NotifyStorageModified(id(), origin_url, type, -delta);
203 origin_data_.erase(itr); 203 origin_data_.erase(itr);
204 } 204 }
205 205
206 deletion_callbacks_.erase(callback_ptr); 206 deletion_callbacks_.erase(callback_ptr);
207 callback->Run(kQuotaStatusOk); 207 callback->Run(kQuotaStatusOk);
208 } 208 }
209 209
210 } // namespace quota 210 } // namespace quota
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698