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 // Implementation of DeleteChromeHistory | 5 // Implementation of DeleteChromeHistory |
6 #include "chrome_frame/delete_chrome_history.h" | 6 #include "chrome_frame/delete_chrome_history.h" |
7 | 7 |
8 #include "chrome/browser/browsing_data_remover.h" | 8 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
9 | 9 |
10 #include "base/win/windows_version.h" | 10 #include "base/win/windows_version.h" |
11 #include "chrome_frame/chrome_frame_activex.h" | 11 #include "chrome_frame/chrome_frame_activex.h" |
12 #include "chrome_frame/utils.h" | 12 #include "chrome_frame/utils.h" |
13 | 13 |
14 // Below other header to avoid symbol pollution. | 14 // Below other header to avoid symbol pollution. |
15 #define INITGUID | 15 #define INITGUID |
16 #include <deletebrowsinghistory.h> | 16 #include <deletebrowsinghistory.h> |
17 | 17 |
18 DeleteChromeHistory::DeleteChromeHistory() | 18 DeleteChromeHistory::DeleteChromeHistory() |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 remove_mask_ |= BrowsingDataRemover::REMOVE_HISTORY; | 91 remove_mask_ |= BrowsingDataRemover::REMOVE_HISTORY; |
92 | 92 |
93 loop_.PostDelayedTask(FROM_HERE, | 93 loop_.PostDelayedTask(FROM_HERE, |
94 MessageLoop::QuitClosure(), base::TimeDelta::FromMinutes(10)); | 94 MessageLoop::QuitClosure(), base::TimeDelta::FromMinutes(10)); |
95 loop_.MessageLoop::Run(); | 95 loop_.MessageLoop::Run(); |
96 | 96 |
97 return S_OK; | 97 return S_OK; |
98 } | 98 } |
99 | 99 |
100 | 100 |
OLD | NEW |