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

Side by Side Diff: components/component_updater/test/component_updater_ping_manager_unittest.cc

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve ramant's comment, using std:: for .cc Created 6 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
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 <string>
6
5 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
6 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
7 #include "base/run_loop.h" 9 #include "base/run_loop.h"
8 #include "base/version.h" 10 #include "base/version.h"
9 #include "components/component_updater/component_updater_ping_manager.h" 11 #include "components/component_updater/component_updater_ping_manager.h"
10 #include "components/component_updater/crx_update_item.h" 12 #include "components/component_updater/crx_update_item.h"
11 #include "components/component_updater/test/test_configurator.h" 13 #include "components/component_updater/test/test_configurator.h"
12 #include "components/component_updater/test/url_request_post_interceptor.h" 14 #include "components/component_updater/test/url_request_post_interceptor.h"
13 #include "net/url_request/url_request_test_util.h" 15 #include "net/url_request/url_request_test_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
15 17
18 using std::string;
19
16 namespace component_updater { 20 namespace component_updater {
17 21
18 class ComponentUpdaterPingManagerTest : public testing::Test { 22 class ComponentUpdaterPingManagerTest : public testing::Test {
19 public: 23 public:
20 ComponentUpdaterPingManagerTest(); 24 ComponentUpdaterPingManagerTest();
21 ~ComponentUpdaterPingManagerTest() override {} 25 ~ComponentUpdaterPingManagerTest() override {}
22 26
23 void RunThreadsUntilIdle(); 27 void RunThreadsUntilIdle();
24 28
25 // Overrides from testing::Test. 29 // Overrides from testing::Test.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 "errorcode=\"-1\" url=\"http://host1/path1\" downloaded=\"123\" " 170 "errorcode=\"-1\" url=\"http://host1/path1\" downloaded=\"123\" "
167 "total=\"456\" download_time_ms=\"987\"/>" 171 "total=\"456\" download_time_ms=\"987\"/>"
168 "<event eventtype=\"14\" eventresult=\"1\" downloader=\"bits\" " 172 "<event eventtype=\"14\" eventresult=\"1\" downloader=\"bits\" "
169 "url=\"http://host2/path2\" downloaded=\"1230\" total=\"4560\" " 173 "url=\"http://host2/path2\" downloaded=\"1230\" total=\"4560\" "
170 "download_time_ms=\"9870\"/></app>")) 174 "download_time_ms=\"9870\"/></app>"))
171 << interceptor->GetRequestsAsString(); 175 << interceptor->GetRequestsAsString();
172 interceptor->Reset(); 176 interceptor->Reset();
173 } 177 }
174 178
175 } // namespace component_updater 179 } // namespace component_updater
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698