| Index: chrome/browser/profiles/profile_impl.cc
 | 
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
 | 
| index 25e3eb541e84c6b8ddb2a3edf250c47813ef3029..8044c4649e4f80321a56d0a31f187b7b518bfbc7 100644
 | 
| --- a/chrome/browser/profiles/profile_impl.cc
 | 
| +++ b/chrome/browser/profiles/profile_impl.cc
 | 
| @@ -272,6 +272,17 @@ PrefStore* CreateExtensionPrefStore(Profile* profile,
 | 
|  #endif
 | 
|  }
 | 
|  
 | 
| +#if !defined(OS_ANDROID)
 | 
| +// Deletes the file that was used by the AutomaticProfileResetter service, which
 | 
| +// has since been removed, to store that the prompt had already been shown.
 | 
| +// TODO(engedy): Remove this and caller in M42 or later. See crbug.com/398813.
 | 
| +void DeleteResetPromptMementoFile(const base::FilePath& profile_dir) {
 | 
| +  base::FilePath memento_path =
 | 
| +      profile_dir.Append(FILE_PATH_LITERAL("Reset Prompt Memento"));
 | 
| +  base::DeleteFile(memento_path, false);
 | 
| +}
 | 
| +#endif
 | 
| +
 | 
|  }  // namespace
 | 
|  
 | 
|  // static
 | 
| @@ -637,6 +648,13 @@ void ProfileImpl::DoFinalInit() {
 | 
|    // as a URLDataSource early.
 | 
|    RegisterDomDistillerViewerSource(this);
 | 
|  
 | 
| +#if !defined(OS_ANDROID)
 | 
| +  BrowserThread::GetBlockingPool()->PostDelayedWorkerTask(
 | 
| +      FROM_HERE,
 | 
| +      base::Bind(&DeleteResetPromptMementoFile, GetPath()),
 | 
| +      base::TimeDelta::FromMilliseconds(2 * create_readme_delay_ms));
 | 
| +#endif
 | 
| +
 | 
|    // Creation has been finished.
 | 
|    TRACE_EVENT_END1("browser",
 | 
|                     "Profile::CreateProfile",
 | 
| 
 |