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

Side by Side Diff: chrome_frame/chrome_frame_automation.cc

Issue 9034032: And now NewRunnableMethod(), you die. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_frame_automation Created 8 years, 11 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
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_frame/chrome_frame_automation.h" 5 #include "chrome_frame/chrome_frame_automation.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 497
498 entry->Release(); 498 entry->Release();
499 499
500 return true; 500 return true;
501 } 501 }
502 502
503 static base::LazyInstance<ProxyFactory, 503 static base::LazyInstance<ProxyFactory,
504 base::LeakyLazyInstanceTraits<ProxyFactory> > 504 base::LeakyLazyInstanceTraits<ProxyFactory> >
505 g_proxy_factory = LAZY_INSTANCE_INITIALIZER; 505 g_proxy_factory = LAZY_INSTANCE_INITIALIZER;
506 506
507 template <> struct RunnableMethodTraits<ChromeFrameAutomationClient> {
508 static void RetainCallee(ChromeFrameAutomationClient* obj) {}
509 static void ReleaseCallee(ChromeFrameAutomationClient* obj) {}
510 };
511
512 ChromeFrameAutomationClient::ChromeFrameAutomationClient() 507 ChromeFrameAutomationClient::ChromeFrameAutomationClient()
513 : chrome_frame_delegate_(NULL), 508 : chrome_frame_delegate_(NULL),
514 chrome_window_(NULL), 509 chrome_window_(NULL),
515 tab_window_(NULL), 510 tab_window_(NULL),
516 parent_window_(NULL), 511 parent_window_(NULL),
517 automation_server_(NULL), 512 automation_server_(NULL),
518 automation_server_id_(NULL), 513 automation_server_id_(NULL),
519 ui_thread_id_(NULL), 514 ui_thread_id_(NULL),
520 init_state_(UNINITIALIZED), 515 init_state_(UNINITIALIZED),
521 use_chrome_network_(false), 516 use_chrome_network_(false),
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 const net::URLRequestStatus& status) { 1265 const net::URLRequestStatus& status) {
1271 automation_server_->Send(new AutomationMsg_RequestEnd( 1266 automation_server_->Send(new AutomationMsg_RequestEnd(
1272 tab_->handle(), request_id, status)); 1267 tab_->handle(), request_id, status));
1273 } 1268 }
1274 1269
1275 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success, 1270 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success,
1276 const GURL& url, const std::string& cookie_string, int cookie_id) { 1271 const GURL& url, const std::string& cookie_string, int cookie_id) {
1277 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse( 1272 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse(
1278 tab_->handle(), success, url, cookie_string, cookie_id)); 1273 tab_->handle(), success, url, cookie_string, cookie_id));
1279 } 1274 }
OLDNEW
« no previous file with comments | « chrome/test/webdriver/webdriver_session.h ('k') | content/browser/renderer_host/media/audio_input_device_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698