| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |