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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "app/sql/statement.h" 10 #include "app/sql/statement.h"
11 #include "app/sql/transaction.h" 11 #include "app/sql/transaction.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/ref_counted_memory.h" 14 #include "base/ref_counted_memory.h"
15 #include "base/time.h" 15 #include "base/time.h"
16 #include "base/string_util.h" 16 #include "base/string_util.h"
17 #include "base/utf_string_conversions.h" 17 #include "base/utf_string_conversions.h"
18 #include "chrome/browser/diagnostics/sqlite_diagnostics.h" 18 #include "chrome/browser/diagnostics/sqlite_diagnostics.h"
19 #include "chrome/browser/history/history_publisher.h" 19 #include "chrome/browser/history/history_publisher.h"
20 #include "chrome/browser/history/top_sites.h" 20 #include "chrome/browser/history/top_sites.h"
21 #include "chrome/browser/history/url_database.h" 21 #include "chrome/browser/history/url_database.h"
22 #include "chrome/common/thumbnail_score.h" 22 #include "chrome/common/thumbnail_score.h"
23 #include "gfx/codec/jpeg_codec.h"
24 #include "third_party/skia/include/core/SkBitmap.h" 23 #include "third_party/skia/include/core/SkBitmap.h"
24 #include "ui/gfx/codec/jpeg_codec.h"
25 25
26 #if defined(OS_MACOSX) 26 #if defined(OS_MACOSX)
27 #include "base/mac/mac_util.h" 27 #include "base/mac/mac_util.h"
28 #endif 28 #endif
29 29
30 namespace history { 30 namespace history {
31 31
32 // Version number of the database. 32 // Version number of the database.
33 static const int kCurrentVersionNumber = 3; 33 static const int kCurrentVersionNumber = 3;
34 static const int kCompatibleVersionNumber = 3; 34 static const int kCompatibleVersionNumber = 3;
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 532
533 InitFavIconsIndex(); 533 InitFavIconsIndex();
534 534
535 // Reopen the transaction. 535 // Reopen the transaction.
536 BeginTransaction(); 536 BeginTransaction();
537 use_top_sites_ = true; 537 use_top_sites_ = true;
538 return true; 538 return true;
539 } 539 }
540 540
541 } // namespace history 541 } // 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