OLD | NEW |
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 <stddef.h> |
| 6 |
5 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
6 #include "base/path_service.h" | 8 #include "base/path_service.h" |
7 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
8 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 10 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
9 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 11 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
10 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" | 12 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" |
11 #include "chrome/browser/chrome_notification_types.h" | 13 #include "chrome/browser/chrome_notification_types.h" |
12 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/ui/browser.h" | 15 #include "chrome/browser/ui/browser.h" |
14 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 16 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 ui_test_utils::NavigateToURL(browser(), url); | 131 ui_test_utils::NavigateToURL(browser(), url); |
130 RunScriptAndCheckResult("createTable()", "done"); | 132 RunScriptAndCheckResult("createTable()", "done"); |
131 RunScriptAndCheckResult("insertRecord('text2')", "done"); | 133 RunScriptAndCheckResult("insertRecord('text2')", "done"); |
132 RunScriptAndCheckResult("getRecords()", "text2"); | 134 RunScriptAndCheckResult("getRecords()", "text2"); |
133 } | 135 } |
134 | 136 |
135 // Profile::ClearNetworkingHistorySince should be exercised here too see whether | 137 // Profile::ClearNetworkingHistorySince should be exercised here too see whether |
136 // the call gets delegated through ProfileIO[Impl]Data properly, which is hard | 138 // the call gets delegated through ProfileIO[Impl]Data properly, which is hard |
137 // to write unit-tests for. Currently this is done by both of the above tests. | 139 // to write unit-tests for. Currently this is done by both of the above tests. |
138 // Add standalone test if this changes. | 140 // Add standalone test if this changes. |
OLD | NEW |