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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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
« no previous file with comments | « chrome_frame/test/net/fake_external_tab.cc ('k') | no next file » | 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/process_singleton_subclass.h" 5 #include "chrome_frame/test/net/process_singleton_subclass.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "chrome/browser/browser_process_impl.h" 10 #include "chrome/browser/browser_process_impl.h"
11 #include "chrome/browser/profile_manager.h" 11 #include "chrome/browser/profiles/profile_manager.h"
12 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
13 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
14 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
15 #include "chrome_frame/test/net/test_automation_provider.h" 15 #include "chrome_frame/test/net/test_automation_provider.h"
16 #include "chrome_frame/function_stub.h" 16 #include "chrome_frame/function_stub.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 ProcessSingletonSubclass::ProcessSingletonSubclass( 19 ProcessSingletonSubclass::ProcessSingletonSubclass(
20 ProcessSingletonSubclassDelegate* delegate) 20 ProcessSingletonSubclassDelegate* delegate)
21 : stub_(NULL), delegate_(delegate), original_wndproc_(NULL) { 21 : stub_(NULL), delegate_(delegate), original_wndproc_(NULL) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 CommandLine parsed_command_line = CommandLine::FromString(cmd_line); 102 CommandLine parsed_command_line = CommandLine::FromString(cmd_line);
103 std::string channel_id = parsed_command_line.GetSwitchValueASCII( 103 std::string channel_id = parsed_command_line.GetSwitchValueASCII(
104 switches::kAutomationClientChannelID); 104 switches::kAutomationClientChannelID);
105 EXPECT_FALSE(channel_id.empty()); 105 EXPECT_FALSE(channel_id.empty());
106 106
107 delegate_->OnConnectAutomationProviderToChannel(channel_id); 107 delegate_->OnConnectAutomationProviderToChannel(channel_id);
108 } 108 }
109 return TRUE; 109 return TRUE;
110 } 110 }
OLDNEW
« no previous file with comments | « chrome_frame/test/net/fake_external_tab.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698