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

Side by Side Diff: chrome/browser/extensions/api/system_network/system_network_apitest.cc

Issue 689553002: Cleanup: Remove unneeded path_service.h includes in base and chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win Created 6 years, 1 month 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 "base/memory/ref_counted.h" 5 #include "base/memory/ref_counted.h"
6 #include "base/path_service.h"
7 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
8 #include "chrome/browser/extensions/extension_apitest.h" 7 #include "chrome/browser/extensions/extension_apitest.h"
9 #include "chrome/browser/extensions/extension_function_test_utils.h" 8 #include "chrome/browser/extensions/extension_function_test_utils.h"
10 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
11 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/extensions/application_launch.h" 11 #include "chrome/browser/ui/extensions/application_launch.h"
13 #include "chrome/test/base/in_process_browser_test.h" 12 #include "chrome/test/base/in_process_browser_test.h"
14 #include "chrome/test/base/ui_test_utils.h" 13 #include "chrome/test/base/ui_test_utils.h"
15 #include "extensions/browser/api/system_network/system_network_api.h" 14 #include "extensions/browser/api/system_network/system_network_api.h"
16 #include "extensions/common/test_util.h" 15 #include "extensions/common/test_util.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 &network_interface)); 59 &network_interface));
61 60
62 LOG(INFO) << "Network interface: address=" << network_interface.address 61 LOG(INFO) << "Network interface: address=" << network_interface.address
63 << ", name=" << network_interface.name 62 << ", name=" << network_interface.name
64 << ", prefix length=" << network_interface.prefix_length; 63 << ", prefix length=" << network_interface.prefix_length;
65 ASSERT_NE(std::string(), network_interface.address); 64 ASSERT_NE(std::string(), network_interface.address);
66 ASSERT_NE(std::string(), network_interface.name); 65 ASSERT_NE(std::string(), network_interface.name);
67 ASSERT_LE(0, network_interface.prefix_length); 66 ASSERT_LE(0, network_interface.prefix_length);
68 } 67 }
69 } 68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698