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

Unified Diff: chrome/browser/user_data_dir_extractor_win.h

Issue 12662033: Show user data dialog earlier on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build failures. Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/user_data_dir_extractor_win.h
diff --git a/chrome/browser/user_data_dir_extractor_win.h b/chrome/browser/user_data_dir_extractor_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..73ddf559c0b24fb2eb0de9ad358fd45437fc0c53
--- /dev/null
+++ b/chrome/browser/user_data_dir_extractor_win.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_
+#define CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_
+
+#include "base/callback.h"
+
+namespace chrome {
+
+// Tests can call this to install a custom callback to be called instead of
+// actually showing the dialog when ShowUserDataDirDialog() is invoked.
+void InstallCustomShowUserDataDirDialogCallbackForTest(base::Closure* callback);
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698