| OLD | NEW | 
|   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/browser/appcache/appcache_test_helper.h" |   5 #include "webkit/browser/appcache/appcache_test_helper.h" | 
|   6  |   6  | 
|   7 #include "base/bind.h" |   7 #include "base/bind.h" | 
|   8 #include "base/bind_helpers.h" |   8 #include "base/bind_helpers.h" | 
|   9 #include "base/message_loop.h" |   9 #include "base/message_loop/message_loop.h" | 
|  10 #include "testing/gtest/include/gtest/gtest.h" |  10 #include "testing/gtest/include/gtest/gtest.h" | 
|  11 #include "webkit/browser/appcache/appcache.h" |  11 #include "webkit/browser/appcache/appcache.h" | 
|  12 #include "webkit/browser/appcache/appcache_entry.h" |  12 #include "webkit/browser/appcache/appcache_entry.h" | 
|  13 #include "webkit/browser/appcache/appcache_group.h" |  13 #include "webkit/browser/appcache/appcache_group.h" | 
|  14 #include "webkit/browser/appcache/appcache_service.h" |  14 #include "webkit/browser/appcache/appcache_service.h" | 
|  15  |  15  | 
|  16 namespace appcache { |  16 namespace appcache { | 
|  17  |  17  | 
|  18 AppCacheTestHelper::AppCacheTestHelper() |  18 AppCacheTestHelper::AppCacheTestHelper() | 
|  19     : group_id_(0), |  19     : group_id_(0), | 
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  71   origins_->clear(); |  71   origins_->clear(); | 
|  72   for (InfoByOrigin::const_iterator origin = |  72   for (InfoByOrigin::const_iterator origin = | 
|  73            appcache_info_->infos_by_origin.begin(); |  73            appcache_info_->infos_by_origin.begin(); | 
|  74        origin != appcache_info_->infos_by_origin.end(); ++origin) { |  74        origin != appcache_info_->infos_by_origin.end(); ++origin) { | 
|  75     origins_->insert(origin->first); |  75     origins_->insert(origin->first); | 
|  76   } |  76   } | 
|  77   base::MessageLoop::current()->Quit(); |  77   base::MessageLoop::current()->Quit(); | 
|  78 } |  78 } | 
|  79  |  79  | 
|  80 }  // namespace appcache |  80 }  // namespace appcache | 
| OLD | NEW |