OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_FRAME_DELETE_CHROME_HISTORY_H_ | 5 #ifndef CHROME_FRAME_DELETE_CHROME_HISTORY_H_ |
6 #define CHROME_FRAME_DELETE_CHROME_HISTORY_H_ | 6 #define CHROME_FRAME_DELETE_CHROME_HISTORY_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlwin.h> | 9 #include <atlwin.h> |
10 #include <atlcom.h> | 10 #include <atlcom.h> |
11 | 11 |
12 #include <deletebrowsinghistory.h> | 12 #include <deletebrowsinghistory.h> |
13 | 13 |
14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
15 #include "chrome_frame/bho.h" | 15 #include "chrome_frame/bho.h" |
16 #include "chrome_frame/chrome_frame_plugin.h" | 16 #include "chrome_frame/chrome_frame_plugin.h" |
17 #include "chrome_frame/chrome_tab.h" | |
18 #include "grit/chrome_frame_resources.h" | 17 #include "grit/chrome_frame_resources.h" |
19 | 18 |
| 19 // Include without path to make GYP build see it. |
| 20 #include "chrome_tab.h" // NOLINT |
| 21 |
20 class Bho; | 22 class Bho; |
21 | 23 |
22 // DeleteChromeHistory: Implements IDeleteBrowsingHistory and | 24 // DeleteChromeHistory: Implements IDeleteBrowsingHistory and |
23 // pumps cache clearing operations over automation. Blocks the UI | 25 // pumps cache clearing operations over automation. Blocks the UI |
24 // thread while operating. You have been warned. | 26 // thread while operating. You have been warned. |
25 class ATL_NO_VTABLE DeleteChromeHistory | 27 class ATL_NO_VTABLE DeleteChromeHistory |
26 : public CComTearOffObjectBase<Bho, CComSingleThreadModel>, | 28 : public CComTearOffObjectBase<Bho, CComSingleThreadModel>, |
27 public CWindowImpl<DeleteChromeHistory>, | 29 public CWindowImpl<DeleteChromeHistory>, |
28 public ChromeFramePlugin<DeleteChromeHistory>, | 30 public ChromeFramePlugin<DeleteChromeHistory>, |
29 public IDeleteBrowsingHistory { | 31 public IDeleteBrowsingHistory { |
(...skipping 24 matching lines...) Expand all Loading... |
54 | 56 |
55 virtual void GetProfilePath(const std::wstring& profile_name, | 57 virtual void GetProfilePath(const std::wstring& profile_name, |
56 FilePath* profile_path); | 58 FilePath* profile_path); |
57 | 59 |
58 private: | 60 private: |
59 unsigned long remove_mask_; | 61 unsigned long remove_mask_; |
60 MessageLoopForUI loop_; | 62 MessageLoopForUI loop_; |
61 }; | 63 }; |
62 | 64 |
63 #endif // CHROME_FRAME_DELETE_CHROME_HISTORY_H_ | 65 #endif // CHROME_FRAME_DELETE_CHROME_HISTORY_H_ |
OLD | NEW |