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

Side by Side Diff: chrome/browser/history/text_database_manager.cc

Issue 16561007: Use a direct include of utf_string_conversions.h in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
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 "chrome/browser/history/text_database_manager.h" 5 #include "chrome/browser/history/text_database_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/metrics/histogram.h"
14 #include "base/logging.h" 13 #include "base/logging.h"
15 #include "base/message_loop.h" 14 #include "base/message_loop.h"
15 #include "base/metrics/histogram.h"
16 #include "base/string_util.h" 16 #include "base/string_util.h"
17 #include "base/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "chrome/browser/history/history_publisher.h" 18 #include "chrome/browser/history/history_publisher.h"
19 #include "chrome/browser/history/visit_database.h" 19 #include "chrome/browser/history/visit_database.h"
20 20
21 using base::Time; 21 using base::Time;
22 using base::TimeDelta; 22 using base::TimeDelta;
23 using base::TimeTicks; 23 using base::TimeTicks;
24 24
25 namespace history { 25 namespace history {
26 26
27 namespace { 27 namespace {
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 while (i != recent_changes_.rend() && i->second.Expired(now)) { 577 while (i != recent_changes_.rend() && i->second.Expired(now)) {
578 AddPageData(i->first, i->second.url_id(), i->second.visit_id(), 578 AddPageData(i->first, i->second.url_id(), i->second.visit_id(),
579 i->second.visit_time(), i->second.title(), i->second.body()); 579 i->second.visit_time(), i->second.title(), i->second.body());
580 i = recent_changes_.Erase(i); 580 i = recent_changes_.Erase(i);
581 } 581 }
582 582
583 ScheduleFlushOldChanges(); 583 ScheduleFlushOldChanges();
584 } 584 }
585 585
586 } // namespace history 586 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/text_database.cc ('k') | chrome/browser/history/text_database_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698