| 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/macros.h" |
| 5 #include "base/strings/string16.h" | 6 #include "base/strings/string16.h" |
| 6 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 7 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 8 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
| 8 #include "chrome/test/base/chrome_render_view_host_test_harness.h" | 9 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
| 9 #include "chrome/test/base/testing_profile.h" | 10 #include "chrome/test/base/testing_profile.h" |
| 10 #include "content/public/test/test_browser_thread.h" | 11 #include "content/public/test/test_browser_thread.h" |
| 11 #include "net/cookies/canonical_cookie.h" | 12 #include "net/cookies/canonical_cookie.h" |
| 12 #include "net/cookies/cookie_options.h" | 13 #include "net/cookies/cookie_options.h" |
| 13 #include "net/cookies/parsed_cookie.h" | 14 #include "net/cookies/parsed_cookie.h" |
| 14 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 base::UTF8ToUTF16("text"), | 260 base::UTF8ToUTF16("text"), |
| 260 blocked_by_policy); | 261 blocked_by_policy); |
| 261 content_settings->OnLocalStorageAccessed(GURL("http://google.com"), | 262 content_settings->OnLocalStorageAccessed(GURL("http://google.com"), |
| 262 true, | 263 true, |
| 263 blocked_by_policy); | 264 blocked_by_policy); |
| 264 content_settings->OnWebDatabaseAccessed(GURL("http://google.com"), | 265 content_settings->OnWebDatabaseAccessed(GURL("http://google.com"), |
| 265 base::UTF8ToUTF16("name"), | 266 base::UTF8ToUTF16("name"), |
| 266 base::UTF8ToUTF16("display_name"), | 267 base::UTF8ToUTF16("display_name"), |
| 267 blocked_by_policy); | 268 blocked_by_policy); |
| 268 } | 269 } |
| OLD | NEW |