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

Side by Side Diff: chrome/browser/automation/chrome_frame_automation_provider.h

Issue 9570017: Defer shutting down Chrome after the CF automation connection goes away. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/automation/chrome_frame_automation_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 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_H_
(...skipping 15 matching lines...) Expand all
27 // IPC::Channel::Listener overrides. 27 // IPC::Channel::Listener overrides.
28 virtual bool OnMessageReceived(const IPC::Message& message); 28 virtual bool OnMessageReceived(const IPC::Message& message);
29 29
30 protected: 30 protected:
31 // This function is called when we receive an invalid message type. 31 // This function is called when we receive an invalid message type.
32 virtual void OnUnhandledMessage(const IPC::Message& message); 32 virtual void OnUnhandledMessage(const IPC::Message& message);
33 33
34 // Returns true if the message received is a valid chrome frame message. 34 // Returns true if the message received is a valid chrome frame message.
35 bool IsValidMessage(uint32 type); 35 bool IsValidMessage(uint32 type);
36 36
37 // Called to release an instance's ref count on the global BrowserProcess
38 // instance.
39 static void ReleaseBrowserProcess();
40
37 private: 41 private:
38 DISALLOW_COPY_AND_ASSIGN(ChromeFrameAutomationProvider); 42 DISALLOW_COPY_AND_ASSIGN(ChromeFrameAutomationProvider);
39 }; 43 };
40 44
41 #endif // CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_H_ 45 #endif // CHROME_BROWSER_AUTOMATION_CHROME_FRAME_AUTOMATION_PROVIDER_H_
42 46
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/chrome_frame_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698