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

Side by Side Diff: chrome/browser/profiles/file_path_verifier_win.cc

Issue 486843004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/profiles/file_path_verifier_win.h" 5 #include "chrome/browser/profiles/file_path_verifier_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "chrome_elf/create_file/chrome_create_file.h" 12 #include "chrome_elf/create_file/chrome_create_file.h"
13 13
14 namespace { 14 namespace {
15 15
16 // This enum is used in UMA histograms and should never be re-ordered. 16 // This enum is used in UMA histograms and should never be re-ordered.
17 enum FileVerificationResult { 17 enum FileVerificationResult {
18 FILE_VERIFICATION_SUCCESS, 18 FILE_VERIFICATION_SUCCESS,
19 FILE_VERIFICATION_FILE_NOT_FOUND, 19 FILE_VERIFICATION_FILE_NOT_FOUND,
20 FILE_VERIFICATION_INTERNAL_ERROR, 20 FILE_VERIFICATION_INTERNAL_ERROR,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 } // namespace internal 89 } // namespace internal
90 90
91 void VerifyPreferencesFile(const base::FilePath& pref_file_path) { 91 void VerifyPreferencesFile(const base::FilePath& pref_file_path) {
92 FileVerificationResult file_verification_result = 92 FileVerificationResult file_verification_result =
93 VerifyFileAtPath(pref_file_path); 93 VerifyFileAtPath(pref_file_path);
94 UMA_HISTOGRAM_ENUMERATION("Stability.FileAtPath.Preferences", 94 UMA_HISTOGRAM_ENUMERATION("Stability.FileAtPath.Preferences",
95 file_verification_result, 95 file_verification_result,
96 NUM_FILE_VERIFICATION_RESULTS); 96 NUM_FILE_VERIFICATION_RESULTS);
97 } 97 }
OLDNEW
« no previous file with comments | « chrome/browser/profile_resetter/profile_resetter_unittest.cc ('k') | chrome/browser/profiles/host_zoom_map_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698