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

Side by Side Diff: chrome/browser/extensions/extension_function_test_utils.cc

Issue 687903003: Cleanup: Remove unneeded ui_test_utils.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cros 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/extensions/extension_function_test_utils.h" 5 #include "chrome/browser/extensions/extension_function_test_utils.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" 12 #include "chrome/browser/extensions/api/tabs/tabs_constants.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/test/base/ui_test_utils.h"
16 #include "components/crx_file/id_util.h" 15 #include "components/crx_file/id_util.h"
17 #include "extensions/browser/api_test_utils.h" 16 #include "extensions/browser/api_test_utils.h"
18 #include "extensions/browser/extension_function.h" 17 #include "extensions/browser/extension_function.h"
19 #include "extensions/browser/extension_function_dispatcher.h" 18 #include "extensions/browser/extension_function_dispatcher.h"
20 #include "extensions/common/extension.h" 19 #include "extensions/common/extension.h"
21 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
22 21
23 using content::WebContents; 22 using content::WebContents;
24 using extensions::Extension; 23 using extensions::Extension;
25 using extensions::Manifest; 24 using extensions::Manifest;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // only one place. See crbug.com/394840. 245 // only one place. See crbug.com/394840.
247 return extensions::api_test_utils::RunFunction( 246 return extensions::api_test_utils::RunFunction(
248 function, 247 function,
249 args.Pass(), 248 args.Pass(),
250 browser->profile(), 249 browser->profile(),
251 dispatcher.Pass(), 250 dispatcher.Pass(),
252 static_cast<extensions::api_test_utils::RunFunctionFlags>(flags)); 251 static_cast<extensions::api_test_utils::RunFunctionFlags>(flags));
253 } 252 }
254 253
255 } // namespace extension_function_test_utils 254 } // namespace extension_function_test_utils
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698