| 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 "base/strings/string_number_conversions.h" | 5 #include "base/strings/string_number_conversions.h" |
| 6 #include "base/strings/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
| 7 #include "content/public/browser/browser_context.h" | 7 #include "content/public/browser/browser_context.h" |
| 8 #include "content/public/browser/download_manager.h" | 8 #include "content/public/browser/download_manager.h" |
| 9 #include "content/public/browser/notification_service.h" | 9 #include "content/public/browser/notification_service.h" |
| 10 #include "content/public/browser/notification_types.h" | 10 #include "content/public/browser/notification_types.h" |
| 11 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
| 12 #include "content/public/test/browser_test_utils.h" | 12 #include "content/public/test/browser_test_utils.h" |
| 13 #include "content/public/test/content_browser_test.h" |
| 14 #include "content/public/test/content_browser_test_utils.h" |
| 13 #include "content/public/test/test_utils.h" | 15 #include "content/public/test/test_utils.h" |
| 14 #include "content/shell/browser/shell.h" | 16 #include "content/shell/browser/shell.h" |
| 15 #include "content/test/content_browser_test.h" | |
| 16 #include "content/test/content_browser_test_utils.h" | |
| 17 #include "content/test/net/url_request_mock_http_job.h" | 17 #include "content/test/net/url_request_mock_http_job.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 | 21 |
| 22 class DatabaseTest : public ContentBrowserTest { | 22 class DatabaseTest : public ContentBrowserTest { |
| 23 public: | 23 public: |
| 24 DatabaseTest() {} | 24 DatabaseTest() {} |
| 25 | 25 |
| 26 void RunScriptAndCheckResult(Shell* shell, | 26 void RunScriptAndCheckResult(Shell* shell, |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 Navigate(otr1); | 261 Navigate(otr1); |
| 262 CreateTable(otr1); | 262 CreateTable(otr1); |
| 263 InsertRecord(otr1, "text"); | 263 InsertRecord(otr1, "text"); |
| 264 | 264 |
| 265 Shell* otr2 = CreateOffTheRecordBrowser(); | 265 Shell* otr2 = CreateOffTheRecordBrowser(); |
| 266 Navigate(otr2); | 266 Navigate(otr2); |
| 267 CompareRecords(otr2, "text"); | 267 CompareRecords(otr2, "text"); |
| 268 } | 268 } |
| 269 | 269 |
| 270 } // namespace content | 270 } // namespace content |
| OLD | NEW |