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

Side by Side Diff: remoting/host/setup/native_messaging_host_unittest.cc

Issue 19574007: Use a direct include of the message_loop header in remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "remoting/host/setup/native_messaging_host.h" 5 #include "remoting/host/setup/native_messaging_host.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/strings/stringize_macros.h" 13 #include "base/strings/stringize_macros.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "net/base/file_stream.h" 15 #include "net/base/file_stream.h"
16 #include "net/base/net_util.h" 16 #include "net/base/net_util.h"
17 #include "remoting/host/pin_hash.h" 17 #include "remoting/host/pin_hash.h"
18 #include "remoting/host/setup/test_util.h" 18 #include "remoting/host/setup/test_util.h"
19 #include "remoting/protocol/pairing_registry.h" 19 #include "remoting/protocol/pairing_registry.h"
20 #include "remoting/protocol/protocol_mock_objects.h" 20 #include "remoting/protocol/protocol_mock_objects.h"
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 514
515 // Verify rejection if startDaemon request has no "consent" parameter. 515 // Verify rejection if startDaemon request has no "consent" parameter.
516 TEST_F(NativeMessagingHostTest, StartDaemonNoConsent) { 516 TEST_F(NativeMessagingHostTest, StartDaemonNoConsent) {
517 base::DictionaryValue message; 517 base::DictionaryValue message;
518 message.SetString("type", "startDaemon"); 518 message.SetString("type", "startDaemon");
519 message.Set("config", base::DictionaryValue().DeepCopy()); 519 message.Set("config", base::DictionaryValue().DeepCopy());
520 TestBadRequest(message); 520 TestBadRequest(message);
521 } 521 }
522 522
523 } // namespace remoting 523 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/setup/native_messaging_host_main.cc ('k') | remoting/host/setup/native_messaging_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698