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

Side by Side Diff: content/browser/appcache/chrome_appcache_service_unittest.cc

Issue 6586001: Move appcache/file_sytem/device_orientation subdirectories of chrome\browser ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 10 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) 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 "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/ref_counted.h" 7 #include "base/ref_counted.h"
8 #include "base/scoped_temp_dir.h" 8 #include "base/scoped_temp_dir.h"
9 #include "chrome/browser/appcache/chrome_appcache_service.h"
10 #include "chrome/browser/browser_thread.h"
11 #include "chrome/common/chrome_constants.h" 9 #include "chrome/common/chrome_constants.h"
12 #include "chrome/test/testing_browser_process.h" 10 #include "chrome/test/testing_browser_process.h"
13 #include "chrome/test/testing_browser_process_test.h" 11 #include "chrome/test/testing_browser_process_test.h"
14 #include "chrome/test/thread_test_helper.h" 12 #include "chrome/test/thread_test_helper.h"
13 #include "content/browser/appcache/chrome_appcache_service.h"
14 #include "content/browser/browser_thread.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "webkit/appcache/appcache_storage_impl.h" 16 #include "webkit/appcache/appcache_storage_impl.h"
17 17
18 namespace appcache { 18 namespace appcache {
19 19
20 class ChromeAppCacheServiceTest : public TestingBrowserProcessTest { 20 class ChromeAppCacheServiceTest : public TestingBrowserProcessTest {
21 public: 21 public:
22 ChromeAppCacheServiceTest() 22 ChromeAppCacheServiceTest()
23 : message_loop_(MessageLoop::TYPE_IO), 23 : message_loop_(MessageLoop::TYPE_IO),
24 db_thread_(BrowserThread::DB, &message_loop_), 24 db_thread_(BrowserThread::DB, &message_loop_),
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 ASSERT_TRUE(file_util::PathExists(appcache_path)); 92 ASSERT_TRUE(file_util::PathExists(appcache_path));
93 ASSERT_TRUE(file_util::PathExists(appcache_path.AppendASCII("Index"))); 93 ASSERT_TRUE(file_util::PathExists(appcache_path.AppendASCII("Index")));
94 94
95 appcache_service = NULL; 95 appcache_service = NULL;
96 message_loop_.RunAllPending(); 96 message_loop_.RunAllPending();
97 97
98 ASSERT_FALSE(file_util::PathExists(appcache_path)); 98 ASSERT_FALSE(file_util::PathExists(appcache_path));
99 } 99 }
100 100
101 } // namespace appcache 101 } // namespace appcache
OLDNEW
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.cc ('k') | content/browser/appcache/view_appcache_internals_job_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698