OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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_USER_DATA_DIR_EXTRACTOR_WIN_H_ | 5 #ifndef CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_ |
6 #define CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_ | 6 #define CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 | 10 |
11 namespace chrome { | 11 namespace chrome { |
12 | 12 |
13 typedef base::Callback<base::FilePath()> GetUserDataDirCallback; | 13 typedef base::Callback<base::FilePath()> GetUserDataDirCallback; |
14 | 14 |
15 // Tests can call this to install a custom callback to be called when | 15 // Tests can call this to install a custom callback to be called when |
16 // GetUserDataDir() is invoked. | 16 // GetUserDataDir() is invoked. |
17 void InstallCustomGetUserDataDirCallbackForTest( | 17 void InstallCustomGetUserDataDirCallbackForTest( |
18 GetUserDataDirCallback* callback); | 18 GetUserDataDirCallback* callback); |
19 | 19 |
20 } // namespace chrome | 20 } // namespace chrome |
21 | 21 |
22 #endif // CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_ | 22 #endif // CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_WIN_H_ |
OLD | NEW |