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

Unified Diff: chrome/browser/user_data_dir_extractor.h

Issue 174253002: Initialize chrome::DIR_USER_DATA early on for service processes, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move utility functions into related files. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/user_data_dir_extractor.h
diff --git a/chrome/browser/user_data_dir_extractor.h b/chrome/browser/user_data_dir_extractor.h
deleted file mode 100644
index 3f4007708cb6b2cd2021d4ea04fac2b1e2fd69b6..0000000000000000000000000000000000000000
--- a/chrome/browser/user_data_dir_extractor.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// 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_
-
-#include "base/callback.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace content{
-struct MainFunctionParams;
-}
-
-namespace chrome {
-
-typedef base::Callback<base::FilePath()> GetUserDataDirCallback;
-
-// Tests may install a custom GetUserDataDir() callback to override behavior.
-void InstallCustomGetUserDataDirCallbackForTest(
- GetUserDataDirCallback* callback);
-
-// 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_

Powered by Google App Engine
This is Rietveld 408576698