| 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 <stack> | 5 #include <stack> |
| 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/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| (...skipping 1589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1600 int host_id, const appcache::AppCacheInfo& info) OVERRIDE {} | 1600 int host_id, const appcache::AppCacheInfo& info) OVERRIDE {} |
| 1601 virtual void OnStatusChanged(const std::vector<int>& host_ids, | 1601 virtual void OnStatusChanged(const std::vector<int>& host_ids, |
| 1602 Status status) OVERRIDE {} | 1602 Status status) OVERRIDE {} |
| 1603 virtual void OnEventRaised(const std::vector<int>& host_ids, | 1603 virtual void OnEventRaised(const std::vector<int>& host_ids, |
| 1604 EventID event_id) OVERRIDE {} | 1604 EventID event_id) OVERRIDE {} |
| 1605 virtual void OnProgressEventRaised( | 1605 virtual void OnProgressEventRaised( |
| 1606 const std::vector<int>& host_ids, | 1606 const std::vector<int>& host_ids, |
| 1607 const GURL& url, | 1607 const GURL& url, |
| 1608 int num_total, int num_complete) OVERRIDE {} | 1608 int num_total, int num_complete) OVERRIDE {} |
| 1609 virtual void OnErrorEventRaised(const std::vector<int>& host_ids, | 1609 virtual void OnErrorEventRaised(const std::vector<int>& host_ids, |
| 1610 const std::string& message) OVERRIDE { | 1610 const std::string& message, |
| 1611 const std::string& reason, |
| 1612 const GURL& URL, |
| 1613 int status) OVERRIDE { |
| 1611 error_event_was_raised_ = true; | 1614 error_event_was_raised_ = true; |
| 1612 } | 1615 } |
| 1613 virtual void OnLogMessage(int host_id, LogLevel log_level, | 1616 virtual void OnLogMessage(int host_id, LogLevel log_level, |
| 1614 const std::string& message) OVERRIDE {} | 1617 const std::string& message) OVERRIDE {} |
| 1615 virtual void OnContentBlocked( | 1618 virtual void OnContentBlocked( |
| 1616 int host_id, const GURL& manifest_url) OVERRIDE {} | 1619 int host_id, const GURL& manifest_url) OVERRIDE {} |
| 1617 | 1620 |
| 1618 bool error_event_was_raised_; | 1621 bool error_event_was_raised_; |
| 1619 }; | 1622 }; |
| 1620 | 1623 |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2000 RunTestOnIOThread(&AppCacheStorageImplTest::Reinitialize2); | 2003 RunTestOnIOThread(&AppCacheStorageImplTest::Reinitialize2); |
| 2001 } | 2004 } |
| 2002 | 2005 |
| 2003 TEST_F(AppCacheStorageImplTest, Reinitialize3) { | 2006 TEST_F(AppCacheStorageImplTest, Reinitialize3) { |
| 2004 RunTestOnIOThread(&AppCacheStorageImplTest::Reinitialize3); | 2007 RunTestOnIOThread(&AppCacheStorageImplTest::Reinitialize3); |
| 2005 } | 2008 } |
| 2006 | 2009 |
| 2007 // That's all folks! | 2010 // That's all folks! |
| 2008 | 2011 |
| 2009 } // namespace appcache | 2012 } // namespace appcache |
| OLD | NEW |