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

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

Issue 6086003: Cleanup: Remove unneeded includes of chrome_switches.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/thumbnail_database.h" 5 #include "chrome/browser/history/thumbnail_database.h"
6 6
7 #include <algorithm>
8 #include <string>
9
7 #include "app/sql/statement.h" 10 #include "app/sql/statement.h"
8 #include "app/sql/transaction.h" 11 #include "app/sql/transaction.h"
9 #include "base/command_line.h" 12 #include "base/command_line.h"
10 #include "base/file_util.h" 13 #include "base/file_util.h"
11 #include "base/ref_counted_memory.h" 14 #include "base/ref_counted_memory.h"
12 #include "base/time.h" 15 #include "base/time.h"
13 #include "base/string_util.h" 16 #include "base/string_util.h"
14 #include "base/utf_string_conversions.h" 17 #include "base/utf_string_conversions.h"
15 #include "chrome/browser/diagnostics/sqlite_diagnostics.h" 18 #include "chrome/browser/diagnostics/sqlite_diagnostics.h"
16 #include "chrome/browser/history/history_publisher.h" 19 #include "chrome/browser/history/history_publisher.h"
17 #include "chrome/browser/history/top_sites.h" 20 #include "chrome/browser/history/top_sites.h"
18 #include "chrome/browser/history/url_database.h" 21 #include "chrome/browser/history/url_database.h"
19 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/thumbnail_score.h" 22 #include "chrome/common/thumbnail_score.h"
21 #include "gfx/codec/jpeg_codec.h" 23 #include "gfx/codec/jpeg_codec.h"
22 #include "third_party/skia/include/core/SkBitmap.h" 24 #include "third_party/skia/include/core/SkBitmap.h"
23 25
24 #if defined(OS_MACOSX) 26 #if defined(OS_MACOSX)
25 #include "base/mac/mac_util.h" 27 #include "base/mac/mac_util.h"
26 #endif 28 #endif
27 29
28 namespace history { 30 namespace history {
29 31
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 543
542 InitFavIconsIndex(); 544 InitFavIconsIndex();
543 545
544 // Reopen the transaction. 546 // Reopen the transaction.
545 BeginTransaction(); 547 BeginTransaction();
546 use_top_sites_ = true; 548 use_top_sites_ = true;
547 return true; 549 return true;
548 } 550 }
549 551
550 } // namespace history 552 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/history/thumbnail_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698