Chromium Code Reviews| Index: chrome/common/chrome_paths.cc |
| diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc |
| index 9ccf87e948c817a8691a6456c9442c895aae15ce..ee665659d157f2c98aa9297b8520dbda0c2ce023 100644 |
| --- a/chrome/common/chrome_paths.cc |
| +++ b/chrome/common/chrome_paths.cc |
| @@ -577,6 +577,11 @@ bool PathProvider(int key, base::FilePath* result) { |
| cur = cur.Append(FILE_PATH_LITERAL("NativeMessagingHosts")); |
| break; |
| #endif // defined(OS_LINUX) || (defined(OS_MACOSX) && !defined(OS_IOS)) |
| + case chrome::DIR_GLOBAL_GCM_STORE: |
| + if (!PathService::Get(chrome::DIR_USER_DATA, &cur)) |
| + return false; |
| + cur = cur.Append("gcm_store"); |
|
jianli
2014/06/02 22:34:40
Can we use kGCMStoreDirname that is defined in chr
bartfab (slow)
2014/06/03 13:36:49
Done.
|
| + break; |
| default: |
| return false; |