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

Side by Side Diff: chrome_frame/chrome_frame_automation.cc

Issue 2278003: Rewrite of chrome_launcher.exe. ETW-based perf tests suggest that this is on ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « chrome_frame/chrome_frame.gyp ('k') | chrome_frame/chrome_frame_launcher.gyp » ('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) 2010 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 #include "chrome_frame/chrome_frame_automation.h" 5 #include "chrome_frame/chrome_frame_automation.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/trace_event.h" 10 #include "base/trace_event.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/file_version_info.h" 12 #include "base/file_version_info.h"
13 #include "base/lock.h" 13 #include "base/lock.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/process_util.h" 16 #include "base/process_util.h"
17 #include "base/singleton.h" 17 #include "base/singleton.h"
18 #include "base/string_util.h" 18 #include "base/string_util.h"
19 #include "base/sys_info.h" 19 #include "base/sys_info.h"
20 #include "base/waitable_event.h" 20 #include "base/waitable_event.h"
21 #include "chrome/app/client_util.h" 21 #include "chrome/app/client_util.h"
22 #include "chrome/common/chrome_constants.h" 22 #include "chrome/common/chrome_constants.h"
23 #include "chrome/common/chrome_switches.h" 23 #include "chrome/common/chrome_switches.h"
24 #include "chrome/test/automation/tab_proxy.h" 24 #include "chrome/test/automation/tab_proxy.h"
25 #include "chrome_frame/chrome_launcher.h" 25 #include "chrome_frame/chrome_launcher_utils.h"
26 #include "chrome_frame/custom_sync_call_context.h" 26 #include "chrome_frame/custom_sync_call_context.h"
27 #include "chrome_frame/utils.h" 27 #include "chrome_frame/utils.h"
28 28
29 #ifdef NDEBUG 29 #ifdef NDEBUG
30 int64 kAutomationServerReasonableLaunchDelay = 1000; // in milliseconds 30 int64 kAutomationServerReasonableLaunchDelay = 1000; // in milliseconds
31 #else 31 #else
32 int64 kAutomationServerReasonableLaunchDelay = 1000 * 10; 32 int64 kAutomationServerReasonableLaunchDelay = 1000 * 10;
33 #endif 33 #endif
34 34
35 int kDefaultSendUMADataInterval = 20000; // in milliseconds. 35 int kDefaultSendUMADataInterval = 20000; // in milliseconds.
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 const URLRequestStatus& status) { 1254 const URLRequestStatus& status) {
1255 automation_server_->Send(new AutomationMsg_RequestEnd(0, tab_->handle(), 1255 automation_server_->Send(new AutomationMsg_RequestEnd(0, tab_->handle(),
1256 request_id, status)); 1256 request_id, status));
1257 } 1257 }
1258 1258
1259 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success, 1259 void ChromeFrameAutomationClient::OnCookiesRetrieved(bool success,
1260 const GURL& url, const std::string& cookie_string, int cookie_id) { 1260 const GURL& url, const std::string& cookie_string, int cookie_id) {
1261 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse(0, 1261 automation_server_->Send(new AutomationMsg_GetCookiesHostResponse(0,
1262 tab_->handle(), success, url, cookie_string, cookie_id)); 1262 tab_->handle(), success, url, cookie_string, cookie_id));
1263 } 1263 }
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame.gyp ('k') | chrome_frame/chrome_frame_launcher.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698