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

Side by Side Diff: chrome/browser/chromeos/first_run/goodies_displayer.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/chromeos/first_run/goodies_displayer.h" 5 #include "chrome/browser/chromeos/first_run/goodies_displayer.h"
6 6
7 #include "base/prefs/pref_service.h"
8 #include "chrome/browser/browser_process.h" 7 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/chromeos/login/startup_utils.h" 8 #include "chrome/browser/chromeos/login/startup_utils.h"
10 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" 9 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
11 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_list.h" 12 #include "chrome/browser/ui/browser_list.h"
14 #include "chrome/browser/ui/browser_tabstrip.h" 13 #include "chrome/browser/ui/browser_tabstrip.h"
15 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
15 #include "components/prefs/pref_service.h"
16 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
17 17
18 namespace chromeos { 18 namespace chromeos {
19 namespace first_run { 19 namespace first_run {
20 20
21 namespace { 21 namespace {
22 22
23 GoodiesDisplayer* g_goodies_displayer = nullptr; 23 GoodiesDisplayer* g_goodies_displayer = nullptr;
24 GoodiesDisplayerTestInfo* g_test_info = nullptr; 24 GoodiesDisplayerTestInfo* g_test_info = nullptr;
25 25
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&Delete)); 126 base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&Delete));
127 } 127 }
128 128
129 GoodiesDisplayerTestInfo::GoodiesDisplayerTestInfo() 129 GoodiesDisplayerTestInfo::GoodiesDisplayerTestInfo()
130 : days_since_oobe(0), setup_complete(false) {} 130 : days_since_oobe(0), setup_complete(false) {}
131 131
132 GoodiesDisplayerTestInfo::~GoodiesDisplayerTestInfo() {} 132 GoodiesDisplayerTestInfo::~GoodiesDisplayerTestInfo() {}
133 133
134 } // namespace first_run 134 } // namespace first_run
135 } // namespace chromeos 135 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/first_run/first_run.cc ('k') | chrome/browser/chromeos/first_run/goodies_displayer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698