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

Side by Side Diff: chrome/browser/user_data_dir_extractor_win.h

Issue 123693003: Revise user-data-dir switch handling; avoid crashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 6 years, 10 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_
6 #define CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_
7
8 #include "base/callback.h"
9 #include "base/files/file_path.h"
10
11 namespace chrome {
12
13 typedef base::Callback<base::FilePath()> GetUserDataDirCallback;
14
15 // Tests can call this to install a custom callback to be called when
16 // GetUserDataDir() is invoked.
17 void InstallCustomGetUserDataDirCallbackForTest(
18 GetUserDataDirCallback* callback);
19
20 } // namespace chrome
21
22 #endif // CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698