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

Side by Side Diff: chrome/browser/policy/policy_path_parser_linux.cc

Issue 1986823002: Reset user data directory and disk cache directory after downgrade. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <pwd.h> 5 #include <pwd.h>
6 #include <stddef.h> 6 #include <stddef.h>
7 #include <sys/types.h> 7 #include <sys/types.h>
8 #include <unistd.h> 8 #include <unistd.h>
9 9
10 #include "chrome/browser/policy/policy_path_parser.h" 10 #include "chrome/browser/policy/policy_path_parser.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 return result; 54 return result;
55 } 55 }
56 56
57 void CheckUserDataDirPolicy(base::FilePath* user_data_dir) { 57 void CheckUserDataDirPolicy(base::FilePath* user_data_dir) {
58 // This function is not implemented in Linux because we don't support the 58 // This function is not implemented in Linux because we don't support the
59 // policy on this platform. 59 // policy on this platform.
60 NOTREACHED(); 60 NOTREACHED();
61 } 61 }
62 62
63 void CheckDiskCacheDirPolicy(base::FilePath* user_data_dir) {
64 // This function is not implemented in Linux because we don't support the
65 // policy on this platform.
66 NOTREACHED();
67 }
68
63 } // namespace path_parser 69 } // namespace path_parser
64 70
65 } // namespace policy 71 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_path_parser.h ('k') | chrome/browser/policy/policy_path_parser_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698