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

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

Issue 441623002: Eliminate sending NOTIFICATION_TOP_SITES_* from TopSites (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/top_sites.h" 5 #include "chrome/browser/history/top_sites.h"
6 6
7 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "chrome/browser/history/top_sites_impl.h" 8 #include "chrome/browser/history/top_sites_impl.h"
9 #include "grit/chromium_strings.h" 9 #include "grit/chromium_strings.h"
10 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
(...skipping 19 matching lines...) Expand all
30 #endif 30 #endif
31 }; 31 };
32 32
33 // static 33 // static
34 TopSites* TopSites::Create(Profile* profile, const base::FilePath& db_name) { 34 TopSites* TopSites::Create(Profile* profile, const base::FilePath& db_name) {
35 TopSitesImpl* top_sites_impl = new TopSitesImpl(profile); 35 TopSitesImpl* top_sites_impl = new TopSitesImpl(profile);
36 top_sites_impl->Init(db_name); 36 top_sites_impl->Init(db_name);
37 return top_sites_impl; 37 return top_sites_impl;
38 } 38 }
39 39
40 TopSites::TopSites() {
41 }
42
43 TopSites::~TopSites() {
44 }
45
46 Profile* TopSites::GetProfile() {
sdefresne 2014/08/04 08:47:18 Remove.
nshaik 2014/08/05 06:38:03 Done.
47 return NULL;
48 }
49
40 } // namespace history 50 } // namespace history
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698