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

Side by Side Diff: webkit/browser/appcache/appcache_group_unittest.cc

Issue 19633002: Use a direct include of the message_loop header in webkit/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <string> 5 #include <string>
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "webkit/browser/appcache/appcache.h" 9 #include "webkit/browser/appcache/appcache.h"
10 #include "webkit/browser/appcache/appcache_group.h" 10 #include "webkit/browser/appcache/appcache_group.h"
11 #include "webkit/browser/appcache/appcache_host.h" 11 #include "webkit/browser/appcache/appcache_host.h"
12 #include "webkit/browser/appcache/appcache_update_job.h" 12 #include "webkit/browser/appcache/appcache_update_job.h"
13 #include "webkit/browser/appcache/mock_appcache_service.h" 13 #include "webkit/browser/appcache/mock_appcache_service.h"
14 #include "webkit/common/appcache/appcache_interfaces.h" 14 #include "webkit/common/appcache/appcache_interfaces.h"
15 15
16 namespace { 16 namespace {
17 17
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 EXPECT_TRUE(group->FindObserver(&host, group->observers_)); 293 EXPECT_TRUE(group->FindObserver(&host, group->observers_));
294 294
295 // Delete update to cause it to complete. Verify host is notified. 295 // Delete update to cause it to complete. Verify host is notified.
296 delete group->update_job_; 296 delete group->update_job_;
297 EXPECT_EQ(AppCacheGroup::IDLE, group->update_status_); 297 EXPECT_EQ(AppCacheGroup::IDLE, group->update_status_);
298 EXPECT_TRUE(group->restart_update_task_.IsCancelled()); 298 EXPECT_TRUE(group->restart_update_task_.IsCancelled());
299 EXPECT_TRUE(host.update_completed_); 299 EXPECT_TRUE(host.update_completed_);
300 } 300 }
301 301
302 } // namespace appcache 302 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/browser/appcache/appcache_group.cc ('k') | webkit/browser/appcache/appcache_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698