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

Side by Side Diff: chrome/service/cloud_print/connector_settings_unittest.cc

Issue 486843004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/cloud_print/connector_settings.h" 5 #include "chrome/service/cloud_print/connector_settings.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/message_loop/message_loop_proxy.h" 12 #include "base/message_loop/message_loop_proxy.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/common/cloud_print/cloud_print_constants.h" 14 #include "chrome/common/cloud_print/cloud_print_constants.h"
15 #include "chrome/service/service_process_prefs.h" 15 #include "chrome/service/service_process_prefs.h"
16 16
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 settings.SetXmppPingTimeoutSec(256); 142 settings.SetXmppPingTimeoutSec(256);
143 EXPECT_TRUE(settings.xmpp_ping_enabled()); 143 EXPECT_TRUE(settings.xmpp_ping_enabled());
144 EXPECT_EQ(settings.xmpp_ping_timeout_sec(), 256); 144 EXPECT_EQ(settings.xmpp_ping_timeout_sec(), 256);
145 145
146 // Set invalid settings, and check correct defaults. 146 // Set invalid settings, and check correct defaults.
147 settings.SetXmppPingTimeoutSec(1); 147 settings.SetXmppPingTimeoutSec(1);
148 EXPECT_EQ(settings.xmpp_ping_timeout_sec(), kMinXmppPingTimeoutSecs); 148 EXPECT_EQ(settings.xmpp_ping_timeout_sec(), kMinXmppPingTimeoutSecs);
149 } 149 }
150 150
151 } // namespace cloud_print 151 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_unittest.cc ('k') | chrome/service/cloud_print/print_system_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698