NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / browser / user_data_dir_extractor.h
blob3f4007708cb6b2cd2021d4ea04fac2b1e2fd69b6
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.
5 #ifndef CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_H_
6 #define CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_H_
8 #include "base/callback.h"
10 namespace base {
11 class FilePath;
14 namespace content{
15 struct MainFunctionParams;
18 namespace chrome {
20 typedef base::Callback<base::FilePath()> GetUserDataDirCallback;
22 // Tests may install a custom GetUserDataDir() callback to override behavior.
23 void InstallCustomGetUserDataDirCallbackForTest(
24 GetUserDataDirCallback* callback);
26 // Returns the user data dir. Must be called prior to InitializeLocalState().
27 base::FilePath GetUserDataDir(const content::MainFunctionParams& parameters);
29 } // namespace chrome
31 #endif // CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_H_