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

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

Issue 2916323004: Expose GetLoggingFileName in ContentBrowserClient. (Closed)
Patch Set: Expose GetLoggingFileName in ContentBrowserClient. 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 335
336 NavigationEntry* entry = browser()->tab_strip_model()-> 336 NavigationEntry* entry = browser()->tab_strip_model()->
337 GetActiveWebContents()->GetController().GetLastCommittedEntry(); 337 GetActiveWebContents()->GetController().GetLastCommittedEntry();
338 ASSERT_TRUE(entry != NULL); 338 ASSERT_TRUE(entry != NULL);
339 EXPECT_EQ(url_rewritten, entry->GetURL()); 339 EXPECT_EQ(url_rewritten, entry->GetURL());
340 EXPECT_EQ(url_original, entry->GetVirtualURL()); 340 EXPECT_EQ(url_original, entry->GetVirtualURL());
341 } 341 }
342 342
343 } // namespace content 343 } // namespace content
344 #endif // !defined(OS_ANDROID) 344 #endif // !defined(OS_ANDROID)
345
346 class ChromeContentBrowserClientGetLoggingFileTest : public testing::Test {};
347
348 TEST_F(ChromeContentBrowserClientGetLoggingFileTest, GetLoggingFile) {
349 ChromeContentBrowserClient client;
350 base::FilePath log_file_name;
351 EXPECT_FALSE(client.GetLoggingFileName().empty());
352 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698