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

Side by Side Diff: content/browser/appcache/appcache_host_unittest.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "content/browser/appcache/appcache.h" 9 #include "content/browser/appcache/appcache.h"
10 #include "content/browser/appcache/appcache_backend_impl.h" 10 #include "content/browser/appcache/appcache_backend_impl.h"
11 #include "content/browser/appcache/appcache_group.h" 11 #include "content/browser/appcache/appcache_group.h"
12 #include "content/browser/appcache/appcache_host.h" 12 #include "content/browser/appcache/appcache_host.h"
13 #include "content/browser/appcache/mock_appcache_policy.h" 13 #include "content/browser/appcache/mock_appcache_policy.h"
14 #include "content/browser/appcache/mock_appcache_service.h" 14 #include "content/browser/appcache/mock_appcache_service.h"
15 #include "net/url_request/url_request.h" 15 #include "net/url_request/url_request.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "webkit/browser/quota/quota_manager.h" 17 #include "storage/browser/quota/quota_manager.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 class AppCacheHostTest : public testing::Test { 21 class AppCacheHostTest : public testing::Test {
22 public: 22 public:
23 AppCacheHostTest() { 23 AppCacheHostTest() {
24 get_status_callback_ = 24 get_status_callback_ =
25 base::Bind(&AppCacheHostTest::GetStatusCallback, 25 base::Bind(&AppCacheHostTest::GetStatusCallback,
26 base::Unretained(this)); 26 base::Unretained(this));
27 start_update_callback_ = 27 start_update_callback_ =
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 EXPECT_EQ(&mock_frontend_, host.frontend()); 531 EXPECT_EQ(&mock_frontend_, host.frontend());
532 EXPECT_EQ(NULL, host.associated_cache()); 532 EXPECT_EQ(NULL, host.associated_cache());
533 EXPECT_FALSE(host.is_selection_pending()); 533 EXPECT_FALSE(host.is_selection_pending());
534 EXPECT_TRUE(host.preferred_manifest_url().is_empty()); 534 EXPECT_TRUE(host.preferred_manifest_url().is_empty());
535 } 535 }
536 EXPECT_EQ(0, mock_quota_proxy->GetInUseCount(kDocAndOriginUrl)); 536 EXPECT_EQ(0, mock_quota_proxy->GetInUseCount(kDocAndOriginUrl));
537 service_.set_quota_manager_proxy(NULL); 537 service_.set_quota_manager_proxy(NULL);
538 } 538 }
539 539
540 } // namespace content 540 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_host.cc ('k') | content/browser/appcache/appcache_quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698