OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |