Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / user_data_dir_extractor_win.h
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_