#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
+#include "base/test/scoped_path_override.h"
#include "chrome/browser/extensions/extension_test_notification_observer.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
void EnableExtension(const std::string& extension_id);
- // Wait for the total number of page actions to change to |count|.
- bool WaitForPageActionCountChangeTo(int count) {
- return observer_->WaitForPageActionCountChangeTo(count);
- }
-
// Wait for the number of visible page actions to change to |count|.
bool WaitForPageActionVisibilityChangeTo(int count) {
return observer_->WaitForPageActionVisibilityChangeTo(count);
extensions::FeatureSwitch::ScopedOverride
override_prompt_for_external_extensions_;
+#if defined(OS_WIN)
+ // Use mock shortcut directories to ensure app shortcuts are cleaned up.
+ base::ScopedPathOverride user_desktop_override_;
+ base::ScopedPathOverride common_desktop_override_;
+ base::ScopedPathOverride user_quick_launch_override_;
+ base::ScopedPathOverride start_menu_override_;
+ base::ScopedPathOverride common_start_menu_override_;
+#endif
+
// The default profile to be used.
Profile* profile_;