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

Side by Side Diff: chrome/browser/component_updater/test/component_updater_service_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/browser/component_updater/test/component_updater_service_unitte st.h" 5 #include "chrome/browser/component_updater/test/component_updater_service_unitte st.h"
6 6
7 #include <string>
7 #include <vector> 8 #include <vector>
8 9
9 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
11 #include "base/path_service.h" 12 #include "base/path_service.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
15 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
16 #include "base/values.h" 17 #include "base/values.h"
17 #include "chrome/browser/component_updater/component_updater_resource_throttle.h " 18 #include "chrome/browser/component_updater/component_updater_resource_throttle.h "
18 #include "chrome/common/chrome_paths.h" 19 #include "chrome/common/chrome_paths.h"
19 #include "components/component_updater/component_updater_utils.h" 20 #include "components/component_updater/component_updater_utils.h"
20 #include "components/component_updater/test/test_configurator.h" 21 #include "components/component_updater/test/test_configurator.h"
21 #include "components/component_updater/test/test_installer.h" 22 #include "components/component_updater/test/test_installer.h"
22 #include "components/component_updater/test/url_request_post_interceptor.h" 23 #include "components/component_updater/test/url_request_post_interceptor.h"
23 #include "content/public/browser/browser_thread.h" 24 #include "content/public/browser/browser_thread.h"
24 #include "content/public/browser/resource_controller.h" 25 #include "content/public/browser/resource_controller.h"
25 #include "content/public/browser/resource_request_info.h" 26 #include "content/public/browser/resource_request_info.h"
26 #include "content/public/browser/resource_throttle.h" 27 #include "content/public/browser/resource_throttle.h"
27 #include "libxml/globals.h" 28 #include "libxml/globals.h"
28 #include "net/base/upload_bytes_element_reader.h" 29 #include "net/base/upload_bytes_element_reader.h"
29 #include "net/url_request/test_url_request_interceptor.h" 30 #include "net/url_request/test_url_request_interceptor.h"
30 #include "net/url_request/url_request.h" 31 #include "net/url_request/url_request.h"
31 #include "net/url_request/url_request_test_util.h" 32 #include "net/url_request/url_request_test_util.h"
32 #include "url/gurl.h" 33 #include "url/gurl.h"
33 34
34 using content::BrowserThread; 35 using content::BrowserThread;
36 using std::string;
35 37
36 using ::testing::_; 38 using ::testing::_;
37 using ::testing::AnyNumber; 39 using ::testing::AnyNumber;
38 using ::testing::InSequence; 40 using ::testing::InSequence;
39 using ::testing::Mock; 41 using ::testing::Mock;
40 42
41 namespace component_updater { 43 namespace component_updater {
42 44
43 MockServiceObserver::MockServiceObserver() { 45 MockServiceObserver::MockServiceObserver() {
44 } 46 }
(...skipping 1444 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 component_updater()->RemoveObserver(&observer2); 1491 component_updater()->RemoveObserver(&observer2);
1490 1492
1491 test_configurator()->SetLoopCount(1); 1493 test_configurator()->SetLoopCount(1);
1492 component_updater()->Start(); 1494 component_updater()->Start();
1493 RunThreads(); 1495 RunThreads();
1494 1496
1495 component_updater()->Stop(); 1497 component_updater()->Stop();
1496 } 1498 }
1497 1499
1498 } // namespace component_updater 1500 } // namespace component_updater
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.h » ('j') | net/http/disk_cache_based_quic_server_info_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698