summaryrefslogtreecommitdiffstats
path: root/chrome/browser/user_data_dir_extractor.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/user_data_dir_extractor.h')
-rw-r--r--chrome/browser/user_data_dir_extractor.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/browser/user_data_dir_extractor.h b/chrome/browser/user_data_dir_extractor.h
new file mode 100644
index 0000000..5e8af0a
--- /dev/null
+++ b/chrome/browser/user_data_dir_extractor.h
@@ -0,0 +1,23 @@
+// 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_H_
+#define CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_H_
+
+namespace base {
+class FilePath;
+}
+
+namespace content{
+struct MainFunctionParams;
+}
+
+namespace chrome {
+
+// Returns the user data dir. Must be called prior to InitializeLocalState().
+base::FilePath GetUserDataDir(const content::MainFunctionParams& parameters);
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_USER_DATA_DIR_EXTRACTOR_H_