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

Unified Diff: webkit/appcache/appcache_group_unittest.cc

Issue 3009005: Chrome side of changes required to populate appcache resource list.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: webkit/appcache/appcache_group_unittest.cc
===================================================================
--- webkit/appcache/appcache_group_unittest.cc (revision 53710)
+++ webkit/appcache/appcache_group_unittest.cc (working copy)
@@ -2,12 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <string>
+
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/appcache/appcache.h"
#include "webkit/appcache/appcache_group.h"
#include "webkit/appcache/appcache_host.h"
#include "webkit/appcache/mock_appcache_service.h"
#include "webkit/appcache/appcache_update_job.h"
+#include "webkit/appcache/appcache_interfaces.h"
namespace {
@@ -18,11 +21,11 @@
last_status_(appcache::OBSOLETE) {
}
- virtual void OnCacheSelected(int host_id, int64 cache_id ,
- appcache::Status status) {
+ virtual void OnCacheSelected(
+ int host_id, const appcache::AppCacheInfo& info) {
last_host_id_ = host_id;
- last_cache_id_ = cache_id;
- last_status_ = status;
+ last_cache_id_ = info.cache_id;
+ last_status_ = info.status;
}
virtual void OnStatusChanged(const std::vector<int>& host_ids,

Powered by Google App Engine
This is Rietveld 408576698