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

Side by Side Diff: webkit/browser/appcache/appcache_quota_client_unittest.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
11 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "webkit/browser/appcache/appcache_quota_client.h" 13 #include "webkit/browser/appcache/appcache_quota_client.h"
14 #include "webkit/browser/appcache/mock_appcache_service.h" 14 #include "webkit/browser/appcache/mock_appcache_service.h"
15 15
16 namespace appcache { 16 namespace appcache {
17 17
18 // Declared to shorten the line lengths. 18 // Declared to shorten the line lengths.
19 static const quota::StorageType kTemp = quota::kStorageTypeTemporary; 19 static const quota::StorageType kTemp = quota::kStorageTypeTemporary;
20 static const quota::StorageType kPerm = quota::kStorageTypePersistent; 20 static const quota::StorageType kPerm = quota::kStorageTypePersistent;
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 // A real completion callback from the service should 426 // A real completion callback from the service should
427 // be dropped if it comes in after NotifyAppCacheDestroyed. 427 // be dropped if it comes in after NotifyAppCacheDestroyed.
428 base::MessageLoop::current()->RunUntilIdle(); 428 base::MessageLoop::current()->RunUntilIdle();
429 EXPECT_EQ(1, num_delete_origins_completions_); 429 EXPECT_EQ(1, num_delete_origins_completions_);
430 EXPECT_EQ(quota::kQuotaErrorAbort, delete_status_); 430 EXPECT_EQ(quota::kQuotaErrorAbort, delete_status_);
431 431
432 Call_OnQuotaManagerDestroyed(client); 432 Call_OnQuotaManagerDestroyed(client);
433 } 433 }
434 434
435 } // namespace appcache 435 } // namespace appcache
OLDNEW
« no previous file with comments | « ui/gl/android/surface_texture_listener.cc ('k') | webkit/browser/appcache/appcache_storage_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698