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

Side by Side Diff: chrome/browser/chromeos/dom_ui/language_options_handler.cc

Issue 6335001: Cleanup: Remove unneeded chrome/browser/prefs/pref_service.h usage.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/dom_ui/language_options_handler.h" 5 #include "chrome/browser/chromeos/dom_ui/language_options_handler.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector>
11 12
12 #include "app/l10n_util.h" 13 #include "app/l10n_util.h"
13 #include "base/basictypes.h" 14 #include "base/basictypes.h"
14 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
15 #include "base/values.h" 16 #include "base/values.h"
16 #include "chrome/app/chrome_command_ids.h" 17 #include "chrome/app/chrome_command_ids.h"
17 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/chromeos/cros/cros_library.h" 19 #include "chrome/browser/chromeos/cros/cros_library.h"
19 #include "chrome/browser/chromeos/cros/input_method_library.h" 20 #include "chrome/browser/chromeos/cros/input_method_library.h"
20 #include "chrome/browser/chromeos/input_method/input_method_util.h" 21 #include "chrome/browser/chromeos/input_method/input_method_util.h"
21 #include "chrome/browser/metrics/user_metrics.h" 22 #include "chrome/browser/metrics/user_metrics.h"
22 #include "chrome/browser/prefs/pref_service.h"
23 #include "chrome/browser/profiles/profile.h" 23 #include "chrome/browser/profiles/profile.h"
24 #include "chrome/browser/tab_contents/tab_contents.h" 24 #include "chrome/browser/tab_contents/tab_contents.h"
25 #include "chrome/browser/ui/browser.h" 25 #include "chrome/browser/ui/browser.h"
26 #include "chrome/common/pref_names.h" 26 #include "chrome/common/pref_names.h"
27 #include "chrome/common/spellcheck_common.h" 27 #include "chrome/common/spellcheck_common.h"
28 #include "grit/chromium_strings.h" 28 #include "grit/chromium_strings.h"
29 #include "grit/generated_resources.h" 29 #include "grit/generated_resources.h"
30 30
31 namespace chromeos { 31 namespace chromeos {
32 32
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 void LanguageOptionsHandler::SignOutCallback(const ListValue* args) { 306 void LanguageOptionsHandler::SignOutCallback(const ListValue* args) {
307 UserMetrics::RecordAction(UserMetricsAction("LanguageOptions_SignOut")); 307 UserMetrics::RecordAction(UserMetricsAction("LanguageOptions_SignOut"));
308 308
309 Browser* browser = Browser::GetBrowserForController( 309 Browser* browser = Browser::GetBrowserForController(
310 &dom_ui_->tab_contents()->controller(), NULL); 310 &dom_ui_->tab_contents()->controller(), NULL);
311 if (browser) 311 if (browser)
312 browser->ExecuteCommand(IDC_EXIT); 312 browser->ExecuteCommand(IDC_EXIT);
313 } 313 }
314 314
315 } // namespace chromeos 315 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/browser_child_process_host.cc ('k') | chrome/browser/chromeos/options/options_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698