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

Side by Side Diff: chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_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/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
14 #include "chrome/test/base/in_process_browser_test.h" 13 #include "chrome/test/base/in_process_browser_test.h"
15 #include "chrome/test/base/ui_test_utils.h" 14 #include "chrome/test/base/ui_test_utils.h"
16 #include "extensions/browser/api/dns/host_resolver_wrapper.h" 15 #include "extensions/browser/api/dns/host_resolver_wrapper.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 extensions::ResultCatcher catcher; 104 extensions::ResultCatcher catcher;
106 const Extension* extension = LoadExtension(path); 105 const Extension* extension = LoadExtension(path);
107 ASSERT_TRUE(extension); 106 ASSERT_TRUE(extension);
108 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); 107 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message();
109 108
110 UnloadExtension(extension->id()); 109 UnloadExtension(extension->id());
111 110
112 ASSERT_TRUE(LoadExtension(path)) << message_; 111 ASSERT_TRUE(LoadExtension(path)) << message_;
113 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); 112 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message();
114 } 113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698