Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / browser / profiles / file_path_verifier_win.h
blob47837189169389163a95277baf211a39def50306
1 // Copyright 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_PROFILES_FILE_PATH_VERIFIER_WIN_H_
6 #define CHROME_BROWSER_PROFILES_FILE_PATH_VERIFIER_WIN_H_
8 #include <string>
10 namespace base {
11 class FilePath;
14 namespace internal {
16 enum PathComparisonReason {
17 PATH_COMPARISON_EQUAL,
18 PATH_COMPARISON_FAILED_UNKNOWN,
19 PATH_COMPARISON_FAILED_SAMEBASE, // Not the same path, but same BaseName.
20 PATH_COMPARISON_FAILED_SAMEDIR, // Not the same path, but same DirName.
23 // Returns a PathComparisonReason based on the result of comparing |path1|
24 // and |path2| case-insensitively.
25 PathComparisonReason ComparePathsIgnoreCase(const base::FilePath& path1,
26 const base::FilePath& path2);
28 } // namespace internal
30 // Verifies that the Preferences file at |pref_file_path| is found as expected
31 // on disk and reports the result via UMA stat Stability.FileAtPath.Preferences.
32 void VerifyPreferencesFile(const base::FilePath& pref_file_path);
34 #endif // CHROME_BROWSER_PROFILES_FILE_PATH_VERIFIER_WIN_H_