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

Side by Side Diff: chrome/browser/in_process_webkit/indexed_db_browsertest.cc

Issue 6086003: Cleanup: Remove unneeded includes of chrome_switches.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_path.h" 6 #include "base/file_path.h"
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/scoped_temp_dir.h" 9 #include "base/scoped_temp_dir.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/in_process_webkit/indexed_db_context.h" 11 #include "chrome/browser/in_process_webkit/indexed_db_context.h"
12 #include "chrome/browser/in_process_webkit/webkit_context.h" 12 #include "chrome/browser/in_process_webkit/webkit_context.h"
13 #include "chrome/browser/tab_contents/tab_contents.h" 13 #include "chrome/browser/tab_contents/tab_contents.h"
14 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/common/chrome_switches.h"
16 #include "chrome/test/in_process_browser_test.h" 15 #include "chrome/test/in_process_browser_test.h"
17 #include "chrome/test/testing_profile.h" 16 #include "chrome/test/testing_profile.h"
18 #include "chrome/test/thread_test_helper.h" 17 #include "chrome/test/thread_test_helper.h"
19 #include "chrome/test/ui_test_utils.h" 18 #include "chrome/test/ui_test_utils.h"
20 19
21 // This browser test is aimed towards exercising the IndexedDB bindings and 20 // This browser test is aimed towards exercising the IndexedDB bindings and
22 // the actual implementation that lives in the browser side (in_process_webkit). 21 // the actual implementation that lives in the browser side (in_process_webkit).
23 class IndexedDBBrowserTest : public InProcessBrowserTest { 22 class IndexedDBBrowserTest : public InProcessBrowserTest {
24 public: 23 public:
25 IndexedDBBrowserTest() { 24 IndexedDBBrowserTest() {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // Make sure we wait until the destructor has run. 119 // Make sure we wait until the destructor has run.
121 scoped_refptr<ThreadTestHelper> helper( 120 scoped_refptr<ThreadTestHelper> helper(
122 new ThreadTestHelper(BrowserThread::WEBKIT)); 121 new ThreadTestHelper(BrowserThread::WEBKIT));
123 ASSERT_TRUE(helper->Run()); 122 ASSERT_TRUE(helper->Run());
124 123
125 // Because we specified https for scheme to be skipped the second file 124 // Because we specified https for scheme to be skipped the second file
126 // should survive and the first go into vanity. 125 // should survive and the first go into vanity.
127 ASSERT_FALSE(file_util::PathExists(temp_file_path_1)); 126 ASSERT_FALSE(file_util::PathExists(temp_file_path_1));
128 ASSERT_TRUE(file_util::PathExists(temp_file_path_2)); 127 ASSERT_TRUE(file_util::PathExists(temp_file_path_2));
129 } 128 }
OLDNEW
« no previous file with comments | « chrome/browser/history/thumbnail_database_unittest.cc ('k') | chrome/browser/in_process_webkit/webkit_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698