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 // This implements a browser-side endpoint for ChromeFrame UI automation | 5 // This implements a browser-side endpoint for ChromeFrame UI automation |
6 // activity. The client-side endpoint is implemented by | 6 // activity. The client-side endpoint is implemented by |
7 // ChromeFrameAutomationClient. | 7 // ChromeFrameAutomationClient. |
8 // The entire lifetime of this object should be contained within that of | 8 // The entire lifetime of this object should be contained within that of |
9 // the BrowserProcess | 9 // the BrowserProcess |
10 | 10 |
11 #ifndef CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_H_ | 11 #ifndef CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_WIN_H_ |
12 #define CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_H_ | 12 #define CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_WIN_H_ |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "chrome/browser/automation/automation_provider.h" | 15 #include "chrome/browser/automation/automation_provider.h" |
16 | 16 |
17 class Profile; | 17 class Profile; |
18 | 18 |
19 // This class services automation IPC requests coming in from ChromeFrame | 19 // This class services automation IPC requests coming in from ChromeFrame |
20 // instances. | 20 // instances. |
21 class ChromeFrameAutomationProvider : public AutomationProvider { | 21 class ChromeFrameAutomationProvider : public AutomationProvider { |
22 public: | 22 public: |
(...skipping 11 matching lines...) Expand all Loading... |
34 bool IsValidMessage(uint32 type); | 34 bool IsValidMessage(uint32 type); |
35 | 35 |
36 // Called to release an instance's ref count on the global BrowserProcess | 36 // Called to release an instance's ref count on the global BrowserProcess |
37 // instance. | 37 // instance. |
38 static void ReleaseBrowserProcess(); | 38 static void ReleaseBrowserProcess(); |
39 | 39 |
40 private: | 40 private: |
41 DISALLOW_COPY_AND_ASSIGN(ChromeFrameAutomationProvider); | 41 DISALLOW_COPY_AND_ASSIGN(ChromeFrameAutomationProvider); |
42 }; | 42 }; |
43 | 43 |
44 #endif // CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_H_ | 44 #endif // CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_WIN_H_ |
45 | 45 |
OLD | NEW |