| 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 "chrome/browser/extensions/api/browsing_data/browsing_data_api.h" | 5 #include "chrome/browser/extensions/api/browsing_data/browsing_data_api.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/prefs/pref_service.h" |
| 11 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 12 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
| 13 #include "base/values.h" | 14 #include "base/values.h" |
| 14 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 15 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
| 15 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 16 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
| 16 #include "chrome/browser/extensions/extension_function_test_utils.h" | 17 #include "chrome/browser/extensions/extension_function_test_utils.h" |
| 17 #include "chrome/browser/prefs/pref_service.h" | |
| 18 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
| 19 #include "chrome/browser/ui/browser.h" | 19 #include "chrome/browser/ui/browser.h" |
| 20 #include "chrome/common/chrome_notification_types.h" | 20 #include "chrome/common/chrome_notification_types.h" |
| 21 #include "chrome/common/pref_names.h" | 21 #include "chrome/common/pref_names.h" |
| 22 #include "chrome/test/base/in_process_browser_test.h" | 22 #include "chrome/test/base/in_process_browser_test.h" |
| 23 #include "content/public/browser/notification_service.h" | 23 #include "content/public/browser/notification_service.h" |
| 24 | 24 |
| 25 using extension_function_test_utils::RunFunctionAndReturnError; | 25 using extension_function_test_utils::RunFunctionAndReturnError; |
| 26 using extension_function_test_utils::RunFunctionAndReturnSingleResult; | 26 using extension_function_test_utils::RunFunctionAndReturnSingleResult; |
| 27 | 27 |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 | 414 |
| 415 SetPrefsAndVerifySettings( | 415 SetPrefsAndVerifySettings( |
| 416 BrowsingDataRemover::REMOVE_COOKIES | | 416 BrowsingDataRemover::REMOVE_COOKIES | |
| 417 BrowsingDataRemover::REMOVE_HISTORY | | 417 BrowsingDataRemover::REMOVE_HISTORY | |
| 418 BrowsingDataRemover::REMOVE_DOWNLOADS, | 418 BrowsingDataRemover::REMOVE_DOWNLOADS, |
| 419 UNPROTECTED_WEB, | 419 UNPROTECTED_WEB, |
| 420 site_data_no_plugins | | 420 site_data_no_plugins | |
| 421 BrowsingDataRemover::REMOVE_HISTORY | | 421 BrowsingDataRemover::REMOVE_HISTORY | |
| 422 BrowsingDataRemover::REMOVE_DOWNLOADS); | 422 BrowsingDataRemover::REMOVE_DOWNLOADS); |
| 423 } | 423 } |
| OLD | NEW |