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

Side by Side Diff: webkit/browser/appcache/appcache_service_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/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/pickle.h" 10 #include "base/pickle.h"
11 #include "net/base/completion_callback.h" 11 #include "net/base/completion_callback.h"
12 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
13 #include "net/http/http_response_headers.h" 13 #include "net/http/http_response_headers.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "webkit/browser/appcache/appcache_response.h" 15 #include "webkit/browser/appcache/appcache_response.h"
16 #include "webkit/browser/appcache/appcache_service.h" 16 #include "webkit/browser/appcache/appcache_service.h"
17 #include "webkit/browser/appcache/mock_appcache_storage.h" 17 #include "webkit/browser/appcache/mock_appcache_storage.h"
18 18
19 19
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 base::MessageLoop::current()->RunUntilIdle(); 311 base::MessageLoop::current()->RunUntilIdle();
312 EXPECT_EQ(0, CountPendingHelpers()); 312 EXPECT_EQ(0, CountPendingHelpers());
313 EXPECT_FALSE(IsGroupStored(kManifestUrl)); 313 EXPECT_FALSE(IsGroupStored(kManifestUrl));
314 ResetStorage(); 314 ResetStorage();
315 315
316 service_.reset(); // Clean up. 316 service_.reset(); // Clean up.
317 base::MessageLoop::current()->RunUntilIdle(); 317 base::MessageLoop::current()->RunUntilIdle();
318 } 318 }
319 319
320 } // namespace appcache 320 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/browser/appcache/appcache_service.cc ('k') | webkit/browser/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698