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

Unified Diff: chrome/browser/chromeos/oobe/oobe.cc

Issue 1181703008: Removed webui_generator and new OOBE UI placeholder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed empty line. Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/oobe/oobe.h ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/oobe/oobe.cc
diff --git a/chrome/browser/chromeos/oobe/oobe.cc b/chrome/browser/chromeos/oobe/oobe.cc
deleted file mode 100644
index bd980749ce3dd0c8e29936712df994e19e53e1eb..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/oobe/oobe.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/prefs/pref_service.h"
-#include "chrome/browser/browser_process.h"
-#include "chrome/browser/chromeos/oobe/oobe.h"
-#include "chrome/browser/lifetime/application_lifetime.h"
-#include "chrome/common/pref_names.h"
-
-namespace chromeos {
-
-// static
-void Oobe::Register() {
- gen::OobeViewModel::SetFactory(
- [](content::BrowserContext* context)
- -> gen::OobeViewModel* { return new Oobe(); });
-}
-
-Oobe::Oobe() {
-}
-
-Oobe::~Oobe() {
-}
-
-void Oobe::Initialize() {
-}
-
-void Oobe::OnButtonClicked() {
- g_browser_process->local_state()->SetBoolean(prefs::kNewOobe, false);
- chrome::AttemptRestart();
-}
-
-} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/oobe/oobe.h ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698