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

Side by Side Diff: chrome/browser/signin/signin_promo.cc

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/signin/signin_promo.h" 5 #include "chrome/browser/signin/signin_promo.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/common/url_constants.h" 23 #include "chrome/common/url_constants.h"
24 #include "components/google/core/browser/google_util.h" 24 #include "components/google/core/browser/google_util.h"
25 #include "components/pref_registry/pref_registry_syncable.h" 25 #include "components/pref_registry/pref_registry_syncable.h"
26 #include "components/signin/core/browser/signin_manager.h" 26 #include "components/signin/core/browser/signin_manager.h"
27 #include "components/signin/core/common/profile_management_switches.h" 27 #include "components/signin/core/common/profile_management_switches.h"
28 #include "content/public/browser/url_data_source.h" 28 #include "content/public/browser/url_data_source.h"
29 #include "content/public/browser/web_contents.h" 29 #include "content/public/browser/web_contents.h"
30 #include "content/public/browser/web_ui.h" 30 #include "content/public/browser/web_ui.h"
31 #include "content/public/browser/web_ui_data_source.h" 31 #include "content/public/browser/web_ui_data_source.h"
32 #include "google_apis/gaia/gaia_urls.h" 32 #include "google_apis/gaia/gaia_urls.h"
33 #include "grit/browser_resources.h"
34 #include "grit/generated_resources.h"
35 #include "grit/theme_resources.h"
36 #include "net/base/escape.h" 33 #include "net/base/escape.h"
37 #include "net/base/network_change_notifier.h" 34 #include "net/base/network_change_notifier.h"
38 #include "net/base/url_util.h" 35 #include "net/base/url_util.h"
39 #include "ui/base/l10n/l10n_util.h"
40 #include "url/gurl.h" 36 #include "url/gurl.h"
41 37
42 using content::WebContents; 38 using content::WebContents;
43 using net::GetValueForKeyInQuery; 39 using net::GetValueForKeyInQuery;
44 40
45 namespace { 41 namespace {
46 42
47 // Gaia cannot support about:blank as a continue URL, so using a hosted blank 43 // Gaia cannot support about:blank as a continue URL, so using a hosted blank
48 // page instead. 44 // page instead.
49 const char kSignInLandingUrlPrefix[] = 45 const char kSignInLandingUrlPrefix[] =
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 prefs::kSignInPromoShowOnFirstRunAllowed, 327 prefs::kSignInPromoShowOnFirstRunAllowed,
332 true, 328 true,
333 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 329 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
334 registry->RegisterBooleanPref( 330 registry->RegisterBooleanPref(
335 prefs::kSignInPromoShowNTPBubble, 331 prefs::kSignInPromoShowNTPBubble,
336 false, 332 false,
337 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 333 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
338 } 334 }
339 335
340 } // namespace signin 336 } // namespace signin
OLDNEW
« no previous file with comments | « chrome/browser/search/search.cc ('k') | chrome/browser/speech/extension_api/tts_engine_extension_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698