OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
6 | 6 |
7 #include <list> | 7 #include <list> |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 // Two removal tasks, with domain and origin filters respectively. | 573 // Two removal tasks, with domain and origin filters respectively. |
574 client.ClearSiteData( | 574 client.ClearSiteData( |
575 profile(), origin, true /* cookies */, false /* storage */, | 575 profile(), origin, true /* cookies */, false /* storage */, |
576 true /* cache */, | 576 true /* cache */, |
577 base::Bind( | 577 base::Bind( |
578 &ChromeContentBrowserClientClearSiteDataTest::OnClearingFinished, | 578 &ChromeContentBrowserClientClearSiteDataTest::OnClearingFinished, |
579 base::Unretained(this))); | 579 base::Unretained(this))); |
580 WaitForClearingFinished(); | 580 WaitForClearingFinished(); |
581 } | 581 } |
582 | 582 |
| 583 class ChromeContentBrowserClientGetLoggingFileTest : public testing::Test {}; |
| 584 |
| 585 TEST_F(ChromeContentBrowserClientGetLoggingFileTest, GetLoggingFile) { |
| 586 ChromeContentBrowserClient client; |
| 587 base::FilePath log_file_name; |
| 588 EXPECT_FALSE(client.GetLoggingFileName().empty()); |
| 589 } |
| 590 |
583 } // namespace | 591 } // namespace |
OLD | NEW |