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

Side by Side Diff: chrome/browser/ui/ash/screenshot_taker_unittest.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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/ui/ash/screenshot_taker.h" 5 #include "chrome/browser/ui/ash/screenshot_taker.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/test/ash_test_base.h" 8 #include "ash/test/ash_test_base.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 #if defined(OS_CHROMEOS) 122 #if defined(OS_CHROMEOS)
123 // Screenshot notifications on Windows not yet turned on. 123 // Screenshot notifications on Windows not yet turned on.
124 EXPECT_TRUE(g_browser_process->notification_ui_manager()->DoesIdExist( 124 EXPECT_TRUE(g_browser_process->notification_ui_manager()->DoesIdExist(
125 std::string("screenshot"))); 125 std::string("screenshot")));
126 g_browser_process->notification_ui_manager()->CancelAll(); 126 g_browser_process->notification_ui_manager()->CancelAll();
127 #endif 127 #endif
128 128
129 EXPECT_EQ(ScreenshotTakerObserver::SCREENSHOT_SUCCESS, screenshot_result_); 129 EXPECT_EQ(ScreenshotTakerObserver::SCREENSHOT_SUCCESS, screenshot_result_);
130 130
131 if (ScreenshotTakerObserver::SCREENSHOT_SUCCESS == screenshot_result_) 131 if (ScreenshotTakerObserver::SCREENSHOT_SUCCESS == screenshot_result_)
132 EXPECT_TRUE(file_util::PathExists(screenshot_path_)); 132 EXPECT_TRUE(base::PathExists(screenshot_path_));
133 } 133 }
134 134
135 } // namespace test 135 } // namespace test
136 } // namespace ash 136 } // namespace ash
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac.mm ('k') | chrome/browser/ui/metro_pin_tab_helper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698