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

Side by Side Diff: chrome_frame/test/chrome_frame_test_utils.cc

Issue 10007043: Attempt to fix ChromeFrameTestWithWebServer tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: take snapshots on timeout Created 8 years, 8 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 (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_frame/test/chrome_frame_test_utils.h" 5 #include "chrome_frame/test/chrome_frame_test_utils.h"
6 6
7 #include <atlapp.h> 7 #include <atlapp.h>
8 #include <atlmisc.h> 8 #include <atlmisc.h>
9 #include <iepmapi.h> 9 #include <iepmapi.h>
10 #include <sddl.h> 10 #include <sddl.h>
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 FilePath session_history_path; 666 FilePath session_history_path;
667 if (!PathService::Get(base::DIR_LOCAL_APP_DATA, &session_history_path)) 667 if (!PathService::Get(base::DIR_LOCAL_APP_DATA, &session_history_path))
668 return; 668 return;
669 669
670 session_history_path = session_history_path.AppendASCII("Microsoft"); 670 session_history_path = session_history_path.AppendASCII("Microsoft");
671 session_history_path = session_history_path.AppendASCII("Internet Explorer"); 671 session_history_path = session_history_path.AppendASCII("Internet Explorer");
672 session_history_path = session_history_path.AppendASCII("Recovery"); 672 session_history_path = session_history_path.AppendASCII("Recovery");
673 file_util::Delete(session_history_path, true); 673 file_util::Delete(session_history_path, true);
674 } 674 }
675 675
676 FilePath GetSnapshotDirectory() {
677 FilePath desktop;
678
679 PathService::Get(chrome::DIR_USER_DESKTOP, &desktop);
680 return desktop;
681 }
682
676 } // namespace chrome_frame_test 683 } // namespace chrome_frame_test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698