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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/ui/webui/chromeos/login/base_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/chromeos/login/login_display_host_impl.h" 9 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h"
10 #include "content/public/browser/web_ui.h" 10 #include "content/public/browser/web_ui.h"
11 #include "ui/base/l10n/l10n_util.h" 11 #include "ui/base/l10n/l10n_util.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 14
15 LocalizedValuesBuilder::LocalizedValuesBuilder(base::DictionaryValue* dict) 15 LocalizedValuesBuilder::LocalizedValuesBuilder(base::DictionaryValue* dict)
16 : dict_(dict) { 16 : dict_(dict) {
17 } 17 }
18 18
19 void LocalizedValuesBuilder::Add(const std::string& key, 19 void LocalizedValuesBuilder::Add(const std::string& key,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 gfx::NativeWindow BaseScreenHandler::GetNativeWindow() { 106 gfx::NativeWindow BaseScreenHandler::GetNativeWindow() {
107 return LoginDisplayHostImpl::default_host()->GetNativeWindow(); 107 return LoginDisplayHostImpl::default_host()->GetNativeWindow();
108 } 108 }
109 109
110 std::string BaseScreenHandler::FullMethodPath(const std::string& method) const { 110 std::string BaseScreenHandler::FullMethodPath(const std::string& method) const {
111 DCHECK(!method.empty()); 111 DCHECK(!method.empty());
112 return js_screen_path_prefix_ + method; 112 return js_screen_path_prefix_ + method;
113 } 113 }
114 114
115 } // namespace chromeos 115 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698