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

Side by Side Diff: chrome/browser/prefs/browser_prefs.cc

Issue 1983063002: Move classes to //components/ntp_tiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/prefs/browser_prefs.h" 5 #include "chrome/browser/prefs/browser_prefs.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 #include "chrome/browser/supervised_user/supervised_user_service.h" 130 #include "chrome/browser/supervised_user/supervised_user_service.h"
131 #include "chrome/browser/supervised_user/supervised_user_whitelist_service.h" 131 #include "chrome/browser/supervised_user/supervised_user_whitelist_service.h"
132 #endif 132 #endif
133 133
134 #if defined(ENABLE_SERVICE_DISCOVERY) 134 #if defined(ENABLE_SERVICE_DISCOVERY)
135 #include "chrome/browser/ui/webui/local_discovery/local_discovery_ui.h" 135 #include "chrome/browser/ui/webui/local_discovery/local_discovery_ui.h"
136 #endif 136 #endif
137 137
138 #if BUILDFLAG(ANDROID_JAVA_UI) 138 #if BUILDFLAG(ANDROID_JAVA_UI)
139 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" 139 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h"
140 #include "chrome/browser/android/ntp/most_visited_sites.h"
141 #include "chrome/browser/android/ntp/new_tab_page_prefs.h" 140 #include "chrome/browser/android/ntp/new_tab_page_prefs.h"
142 #include "chrome/browser/android/ntp/popular_sites.h" 141 #include "components/ntp_tiles/most_visited_sites.h"
142 #include "components/ntp_tiles/popular_sites.h"
143 #else 143 #else
144 #include "chrome/browser/ui/startup/startup_browser_creator.h" 144 #include "chrome/browser/ui/startup/startup_browser_creator.h"
145 #include "chrome/browser/upgrade_detector.h" 145 #include "chrome/browser/upgrade_detector.h"
146 #endif 146 #endif
147 147
148 #if !defined(OS_ANDROID) 148 #if !defined(OS_ANDROID)
149 #include "chrome/browser/signin/signin_promo.h" 149 #include "chrome/browser/signin/signin_promo.h"
150 #include "chrome/browser/ui/webui/foreign_session_handler.h" 150 #include "chrome/browser/ui/webui/foreign_session_handler.h"
151 #endif 151 #endif
152 152
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 metrics_service 687 metrics_service
688 ? base::Time::FromTimeT(metrics_service->GetInstallDate()) 688 ? base::Time::FromTimeT(metrics_service->GetInstallDate())
689 : base::Time::Now(); 689 : base::Time::Now();
690 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, 690 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined,
691 install_time.ToInternalValue()); 691 install_time.ToInternalValue());
692 } 692 }
693 profile_prefs->ClearPref(kCheckDefaultBrowser); 693 profile_prefs->ClearPref(kCheckDefaultBrowser);
694 } 694 }
695 695
696 } // namespace chrome 696 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698