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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.cc

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/safe_browsing/incident_reporting/download_metadata_mana ger.h" 5 #include "chrome/browser/safe_browsing/incident_reporting/download_metadata_mana ger.h"
6 6
7 #include <limits.h>
7 #include <stdint.h> 8 #include <stdint.h>
8 9
9 #include <list> 10 #include <list>
10 11
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/callback.h" 13 #include "base/callback.h"
13 #include "base/files/file.h" 14 #include "base/files/file.h"
14 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
15 #include "base/files/important_file_writer.h" 16 #include "base/files/important_file_writer.h"
16 #include "base/location.h" 17 #include "base/location.h"
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 } 655 }
655 656
656 void DownloadMetadataManager::ManagerContext::UpdateLastOpenedTime( 657 void DownloadMetadataManager::ManagerContext::UpdateLastOpenedTime(
657 const base::Time& last_opened_time) { 658 const base::Time& last_opened_time) {
658 download_metadata_->mutable_download()->set_open_time_msec( 659 download_metadata_->mutable_download()->set_open_time_msec(
659 last_opened_time.ToJavaTime()); 660 last_opened_time.ToJavaTime());
660 WriteMetadata(); 661 WriteMetadata();
661 } 662 }
662 663
663 } // namespace safe_browsing 664 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton_posix_unittest.cc ('k') | chrome/browser/safe_browsing/srt_fetcher_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698