| OLD | NEW | 
|    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 "base/bind.h" |    5 #include "base/bind.h" | 
|    6 #include "base/bind_helpers.h" |    6 #include "base/bind_helpers.h" | 
|    7 #include "base/memory/scoped_ptr.h" |    7 #include "base/memory/scoped_ptr.h" | 
|    8 #include "base/message_loop.h" |    8 #include "base/message_loop/message_loop.h" | 
|    9 #include "net/url_request/url_request.h" |    9 #include "net/url_request/url_request.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_backend_impl.h" |   12 #include "webkit/browser/appcache/appcache_backend_impl.h" | 
|   13 #include "webkit/browser/appcache/appcache_group.h" |   13 #include "webkit/browser/appcache/appcache_group.h" | 
|   14 #include "webkit/browser/appcache/appcache_host.h" |   14 #include "webkit/browser/appcache/appcache_host.h" | 
|   15 #include "webkit/browser/appcache/mock_appcache_policy.h" |   15 #include "webkit/browser/appcache/mock_appcache_policy.h" | 
|   16 #include "webkit/browser/appcache/mock_appcache_service.h" |   16 #include "webkit/browser/appcache/mock_appcache_service.h" | 
|   17 #include "webkit/browser/quota/quota_manager.h" |   17 #include "webkit/browser/quota/quota_manager.h" | 
|   18  |   18  | 
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  521     EXPECT_EQ(&mock_frontend_, host.frontend()); |  521     EXPECT_EQ(&mock_frontend_, host.frontend()); | 
|  522     EXPECT_EQ(NULL, host.associated_cache()); |  522     EXPECT_EQ(NULL, host.associated_cache()); | 
|  523     EXPECT_FALSE(host.is_selection_pending()); |  523     EXPECT_FALSE(host.is_selection_pending()); | 
|  524     EXPECT_TRUE(host.preferred_manifest_url().is_empty()); |  524     EXPECT_TRUE(host.preferred_manifest_url().is_empty()); | 
|  525   } |  525   } | 
|  526   EXPECT_EQ(0, mock_quota_proxy->GetInUseCount(kDocAndOriginUrl)); |  526   EXPECT_EQ(0, mock_quota_proxy->GetInUseCount(kDocAndOriginUrl)); | 
|  527   service_.set_quota_manager_proxy(NULL); |  527   service_.set_quota_manager_proxy(NULL); | 
|  528 } |  528 } | 
|  529  |  529  | 
|  530 }  // namespace appcache |  530 }  // namespace appcache | 
| OLD | NEW |