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

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

Issue 648113002: Removing extensions::FeatureSwitch which is no longer used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 18 matching lines...) Expand all
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/filename_util.h" 37 #include "net/base/filename_util.h"
38 38
39 using extensions::FeatureSwitch;
40 39
41 // This file contains high-level startup tests for the extensions system. We've 40 // 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 41 // had many silly bugs where command line flags did not get propagated correctly
43 // into the services, so we didn't start correctly. 42 // into the services, so we didn't start correctly.
44 43
45 class ExtensionStartupTestBase : public InProcessBrowserTest { 44 class ExtensionStartupTestBase : public InProcessBrowserTest {
46 public: 45 public:
47 ExtensionStartupTestBase() : unauthenticated_load_allowed_(true) { 46 ExtensionStartupTestBase() : unauthenticated_load_allowed_(true) {
48 num_expected_extensions_ = 3; 47 num_expected_extensions_ = 3;
49 } 48 }
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 .AppendASCII("extensions") 292 .AppendASCII("extensions")
294 .AppendASCII("app2"); 293 .AppendASCII("app2");
295 load_extensions_.push_back(fourth_extension_path.value()); 294 load_extensions_.push_back(fourth_extension_path.value());
296 } 295 }
297 }; 296 };
298 297
299 IN_PROC_BROWSER_TEST_F(ExtensionsLoadMultipleTest, Test) { 298 IN_PROC_BROWSER_TEST_F(ExtensionsLoadMultipleTest, Test) {
300 WaitForServicesToStart(4, true); 299 WaitForServicesToStart(4, true);
301 TestInjection(true, true); 300 TestInjection(true, true);
302 } 301 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/extension_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698