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

Side by Side Diff: chrome/service/service_process_unittest.cc

Issue 6805019: Move crypto files out of base, to a top level directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixes comments by eroman Created 9 years, 8 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/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc ('k') | content/DEPS » ('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) 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/service/service_process.h" 5 #include "chrome/service/service_process.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/crypto/rsa_private_key.h"
12 #include "base/message_loop.h" 11 #include "base/message_loop.h"
13 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
14 #include "chrome/common/service_process_util.h" 13 #include "chrome/common/service_process_util.h"
15 #include "remoting/host/host_key_pair.h" 14 #include "remoting/host/host_key_pair.h"
16 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
18 17
19 TEST(ServiceProcessTest, DISABLED_Run) { 18 TEST(ServiceProcessTest, DISABLED_Run) {
20 MessageLoopForUI main_message_loop; 19 MessageLoopForUI main_message_loop;
21 ServiceProcess process; 20 ServiceProcess process;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 .WillOnce(QuitMessageLoop(&main_message_loop)); 62 .WillOnce(QuitMessageLoop(&main_message_loop));
64 63
65 // Then config the chromoting host and start it. 64 // Then config the chromoting host and start it.
66 process.remoting_host_manager()->SetCredentials("email", "token"); 65 process.remoting_host_manager()->SetCredentials("email", "token");
67 process.remoting_host_manager()->Enable(); 66 process.remoting_host_manager()->Enable();
68 MessageLoop::current()->Run(); 67 MessageLoop::current()->Run();
69 68
70 EXPECT_TRUE(process.Teardown()); 69 EXPECT_TRUE(process.Teardown());
71 } 70 }
72 #endif // defined(ENABLE_REMOTING) 71 #endif // defined(ENABLE_REMOTING)
OLDNEW
« no previous file with comments | « chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc ('k') | content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698