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

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

Issue 220253002: Add net/base/filename_util.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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 | Annotate | Revision Log
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 <vector> 5 #include <vector>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 16 matching lines...) Expand all
27 #include "content/public/browser/notification_details.h" 27 #include "content/public/browser/notification_details.h"
28 #include "content/public/browser/notification_service.h" 28 #include "content/public/browser/notification_service.h"
29 #include "content/public/browser/web_contents.h" 29 #include "content/public/browser/web_contents.h"
30 #include "content/public/common/content_switches.h" 30 #include "content/public/common/content_switches.h"
31 #include "content/public/test/browser_test_utils.h" 31 #include "content/public/test/browser_test_utils.h"
32 #include "extensions/browser/extension_registry.h" 32 #include "extensions/browser/extension_registry.h"
33 #include "extensions/browser/extension_system.h" 33 #include "extensions/browser/extension_system.h"
34 #include "extensions/common/extension.h" 34 #include "extensions/common/extension.h"
35 #include "extensions/common/extension_set.h" 35 #include "extensions/common/extension_set.h"
36 #include "extensions/common/feature_switch.h" 36 #include "extensions/common/feature_switch.h"
37 #include "net/base/net_util.h" 37 #include "net/base/filename_util.h"
38 38
39 using extensions::FeatureSwitch; 39 using extensions::FeatureSwitch;
40 40
41 // This file contains high-level startup tests for the extensions system. We've 41 // This file contains high-level startup tests for the extensions system. We've
42 // had many silly bugs where command line flags did not get propagated correctly 42 // had many silly bugs where command line flags did not get propagated correctly
43 // into the services, so we didn't start correctly. 43 // into the services, so we didn't start correctly.
44 44
45 class ExtensionStartupTestBase : public InProcessBrowserTest { 45 class ExtensionStartupTestBase : public InProcessBrowserTest {
46 public: 46 public:
47 ExtensionStartupTestBase() : unauthenticated_load_allowed_(true) { 47 ExtensionStartupTestBase() : unauthenticated_load_allowed_(true) {
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 .AppendASCII("extensions") 293 .AppendASCII("extensions")
294 .AppendASCII("app2"); 294 .AppendASCII("app2");
295 load_extensions_.push_back(fourth_extension_path.value()); 295 load_extensions_.push_back(fourth_extension_path.value());
296 } 296 }
297 }; 297 };
298 298
299 IN_PROC_BROWSER_TEST_F(ExtensionsLoadMultipleTest, Test) { 299 IN_PROC_BROWSER_TEST_F(ExtensionsLoadMultipleTest, Test) {
300 WaitForServicesToStart(4, true); 300 WaitForServicesToStart(4, true);
301 TestInjection(true, true); 301 TestInjection(true, true);
302 } 302 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_apitest.cc ('k') | chrome/browser/extensions/plugin_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698