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

Side by Side Diff: webkit/appcache/appcache_update_job_unittest.cc

Issue 6248021: Reapply r72562 with willchan's nits + locally tested shlib fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix path Created 9 years, 11 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
« no previous file with comments | « net/websockets/websocket_unittest.cc ('k') | webkit/glue/mimetype_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "testing/gtest/include/gtest/gtest.h" 5 #include "testing/gtest/include/gtest/gtest.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util-inl.h"
8 #include "base/threading/thread.h" 8 #include "base/threading/thread.h"
9 #include "base/synchronization/waitable_event.h" 9 #include "base/synchronization/waitable_event.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
11 #include "net/http/http_response_headers.h" 11 #include "net/http/http_response_headers.h"
12 #include "net/url_request/url_request_error_job.h" 12 #include "net/url_request/url_request_error_job.h"
13 #include "net/url_request/url_request_test_job.h" 13 #include "net/url_request/url_request_test_job.h"
14 #include "net/url_request/url_request_unittest.h" 14 #include "net/url_request/url_request_test_util.h"
15 #include "webkit/appcache/appcache_group.h" 15 #include "webkit/appcache/appcache_group.h"
16 #include "webkit/appcache/appcache_host.h" 16 #include "webkit/appcache/appcache_host.h"
17 #include "webkit/appcache/appcache_policy.h" 17 #include "webkit/appcache/appcache_policy.h"
18 #include "webkit/appcache/appcache_response.h" 18 #include "webkit/appcache/appcache_response.h"
19 #include "webkit/appcache/appcache_update_job.h" 19 #include "webkit/appcache/appcache_update_job.h"
20 #include "webkit/appcache/mock_appcache_service.h" 20 #include "webkit/appcache/mock_appcache_service.h"
21 21
22 namespace appcache { 22 namespace appcache {
23 class AppCacheUpdateJobTest; 23 class AppCacheUpdateJobTest;
24 24
(...skipping 3433 matching lines...) Expand 10 before | Expand all | Expand 10 after
3458 RunTestOnIOThread(&AppCacheUpdateJobTest::MultipleHeadersRefetchTest); 3458 RunTestOnIOThread(&AppCacheUpdateJobTest::MultipleHeadersRefetchTest);
3459 } 3459 }
3460 3460
3461 } // namespace appcache 3461 } // namespace appcache
3462 3462
3463 // AppCacheUpdateJobTest is expected to always live longer than the 3463 // AppCacheUpdateJobTest is expected to always live longer than the
3464 // runnable methods. This lets us call NewRunnableMethod on its instances. 3464 // runnable methods. This lets us call NewRunnableMethod on its instances.
3465 DISABLE_RUNNABLE_METHOD_REFCOUNT(appcache::AppCacheUpdateJobTest); 3465 DISABLE_RUNNABLE_METHOD_REFCOUNT(appcache::AppCacheUpdateJobTest);
3466 DISABLE_RUNNABLE_METHOD_REFCOUNT( 3466 DISABLE_RUNNABLE_METHOD_REFCOUNT(
3467 appcache::AppCacheUpdateJobTest::MockAppCachePolicy); 3467 appcache::AppCacheUpdateJobTest::MockAppCachePolicy);
OLDNEW
« no previous file with comments | « net/websockets/websocket_unittest.cc ('k') | webkit/glue/mimetype_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698