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

Side by Side Diff: chrome_frame/test/net/test_automation_provider.cc

Issue 4758001: Part 2 of reapplying r64637. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Window recompile after rebase? Created 10 years, 1 month 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/plugin_url_request.cc ('k') | chrome_frame/test/reliability/page_load_test.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) 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/test/net/test_automation_provider.h" 5 #include "chrome_frame/test/net/test_automation_provider.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_version_info.h" 8 #include "base/file_version_info.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "chrome/test/automation/automation_messages.h" 10 #include "chrome/common/automation_messages.h"
11 #include "chrome_frame/test/net/test_automation_resource_message_filter.h" 11 #include "chrome_frame/test/net/test_automation_resource_message_filter.h"
12 12
13 namespace { 13 namespace {
14 14
15 // A special command line switch to just run the unit tests without CF in 15 // A special command line switch to just run the unit tests without CF in
16 // the picture. Can be useful when the harness itself needs to be debugged. 16 // the picture. Can be useful when the harness itself needs to be debugged.
17 const wchar_t kNoCfTestRun[] = L"no-cf-test-run"; 17 const wchar_t kNoCfTestRun[] = L"no-cf-test-run";
18 18
19 bool CFTestsDisabled() { 19 bool CFTestsDisabled() {
20 static bool switch_present = CommandLine::ForCurrentProcess()-> 20 static bool switch_present = CommandLine::ForCurrentProcess()->
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 // static 117 // static
118 TestAutomationProvider* TestAutomationProvider::NewAutomationProvider( 118 TestAutomationProvider* TestAutomationProvider::NewAutomationProvider(
119 Profile* p, const std::string& channel, 119 Profile* p, const std::string& channel,
120 TestAutomationProviderDelegate* delegate) { 120 TestAutomationProviderDelegate* delegate) {
121 TestAutomationProvider* automation = new TestAutomationProvider(p, delegate); 121 TestAutomationProvider* automation = new TestAutomationProvider(p, delegate);
122 automation->ConnectToChannel(channel); 122 automation->ConnectToChannel(channel);
123 automation->SetExpectedTabCount(1); 123 automation->SetExpectedTabCount(1);
124 return automation; 124 return automation;
125 } 125 }
OLDNEW
« no previous file with comments | « chrome_frame/plugin_url_request.cc ('k') | chrome_frame/test/reliability/page_load_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698