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

Side by Side Diff: chrome/browser/extensions/extension_browsertest.h

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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_context_menu_model.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 extensions::Manifest::Location install_source, 366 extensions::Manifest::Location install_source,
367 Browser* browser, 367 Browser* browser,
368 extensions::Extension::InitFromValueFlags creation_flags, 368 extensions::Extension::InitFromValueFlags creation_flags,
369 bool wait_for_idle, 369 bool wait_for_idle,
370 bool is_ephemeral); 370 bool is_ephemeral);
371 371
372 // Make the current channel "dev" for the duration of the test. 372 // Make the current channel "dev" for the duration of the test.
373 extensions::ScopedCurrentChannel current_channel_; 373 extensions::ScopedCurrentChannel current_channel_;
374 374
375 // Disable external install UI. 375 // Disable external install UI.
376 extensions::FeatureSwitch::ScopedOverride
377 override_prompt_for_external_extensions_; 376 override_prompt_for_external_extensions_;
378 377
379 #if defined(OS_WIN) 378 #if defined(OS_WIN)
380 // Use mock shortcut directories to ensure app shortcuts are cleaned up. 379 // Use mock shortcut directories to ensure app shortcuts are cleaned up.
381 base::ScopedPathOverride user_desktop_override_; 380 base::ScopedPathOverride user_desktop_override_;
382 base::ScopedPathOverride common_desktop_override_; 381 base::ScopedPathOverride common_desktop_override_;
383 base::ScopedPathOverride user_quick_launch_override_; 382 base::ScopedPathOverride user_quick_launch_override_;
384 base::ScopedPathOverride start_menu_override_; 383 base::ScopedPathOverride start_menu_override_;
385 base::ScopedPathOverride common_start_menu_override_; 384 base::ScopedPathOverride common_start_menu_override_;
386 #endif 385 #endif
387 386
388 // The default profile to be used. 387 // The default profile to be used.
389 Profile* profile_; 388 Profile* profile_;
390 389
391 // Cache cache implementation. 390 // Cache cache implementation.
392 scoped_ptr<extensions::ExtensionCacheFake> test_extension_cache_; 391 scoped_ptr<extensions::ExtensionCacheFake> test_extension_cache_;
393 }; 392 };
394 393
395 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 394 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_context_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698