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

Side by Side Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 8774040: Don't make classes derive from ChildProcessHost, and instead have them use it through composition... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/automation/testing_automation_provider.h" 5 #include "chrome/browser/automation/testing_automation_provider.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 #include "chrome/common/chrome_view_type.h" 108 #include "chrome/common/chrome_view_type.h"
109 #include "chrome/common/extensions/extension.h" 109 #include "chrome/common/extensions/extension.h"
110 #include "chrome/common/extensions/url_pattern.h" 110 #include "chrome/common/extensions/url_pattern.h"
111 #include "chrome/common/extensions/url_pattern_set.h" 111 #include "chrome/common/extensions/url_pattern_set.h"
112 #include "chrome/common/pref_names.h" 112 #include "chrome/common/pref_names.h"
113 #include "chrome/common/render_messages.h" 113 #include "chrome/common/render_messages.h"
114 #include "chrome/common/url_constants.h" 114 #include "chrome/common/url_constants.h"
115 #include "content/browser/plugin_service.h" 115 #include "content/browser/plugin_service.h"
116 #include "content/browser/renderer_host/render_view_host.h" 116 #include "content/browser/renderer_host/render_view_host.h"
117 #include "content/browser/tab_contents/interstitial_page.h" 117 #include "content/browser/tab_contents/interstitial_page.h"
118 #include "content/common/child_process_host.h"
118 #include "content/public/browser/notification_service.h" 119 #include "content/public/browser/notification_service.h"
119 #include "content/public/browser/render_process_host.h" 120 #include "content/public/browser/render_process_host.h"
120 #include "content/public/common/common_param_traits.h" 121 #include "content/public/common/common_param_traits.h"
121 #include "net/base/cookie_store.h" 122 #include "net/base/cookie_store.h"
122 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 123 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
123 #include "ui/base/events.h" 124 #include "ui/base/events.h"
124 #include "ui/base/keycodes/keyboard_codes.h" 125 #include "ui/base/keycodes/keyboard_codes.h"
125 #include "ui/base/ui_base_types.h" 126 #include "ui/base/ui_base_types.h"
126 #include "webkit/glue/webdropdata.h" 127 #include "webkit/glue/webdropdata.h"
127 #include "webkit/plugins/webplugininfo.h" 128 #include "webkit/plugins/webplugininfo.h"
(...skipping 6303 matching lines...) Expand 10 before | Expand all | Expand 10 after
6431 6432
6432 Send(reply_message_); 6433 Send(reply_message_);
6433 redirect_query_ = 0; 6434 redirect_query_ = 0;
6434 reply_message_ = NULL; 6435 reply_message_ = NULL;
6435 } 6436 }
6436 6437
6437 void TestingAutomationProvider::OnRemoveProvider() { 6438 void TestingAutomationProvider::OnRemoveProvider() {
6438 if (g_browser_process) 6439 if (g_browser_process)
6439 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); 6440 g_browser_process->GetAutomationProviderList()->RemoveProvider(this);
6440 } 6441 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/nacl_host/nacl_broker_host_win.cc » ('j') | content/browser/browser_child_process_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698