Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(890)

Side by Side Diff: chrome/browser/chrome_content_browser_client_unittest.cc

Issue 2916323004: Expose GetLoggingFileName in ContentBrowserClient. (Closed)
Patch Set: Simplify API Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 GetLoggingFileTest : public testing::Test {};
Robert Sesek 2017/06/05 15:20:30 ChromeContentBrowserClient...
Greg K 2017/06/05 19:03:31 Done.
584
585 TEST_F(GetLoggingFileTest, GetLoggingFile) {
586 ChromeContentBrowserClient client;
587 base::FilePath log_file_name;
588 EXPECT_FALSE(client.GetLoggingFileName().empty());
589 }
590
583 } // namespace 591 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698