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

Side by Side Diff: chrome/browser/chromeos/base/locale_util.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 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 // This file contains utility functions for locale change. 5 // This file contains utility functions for locale change.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_BASE_LOCALE_UTIL_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_BASE_LOCALE_UTIL_H_
8 #define CHROME_BROWSER_CHROMEOS_BASE_LOCALE_UTIL_H_ 8 #define CHROME_BROWSER_CHROMEOS_BASE_LOCALE_UTIL_H_
9 9
10 #include <memory>
10 #include <string> 11 #include <string>
11 12
12 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
13 #include "base/memory/scoped_ptr.h"
14 14
15 class Profile; 15 class Profile;
16 16
17 namespace chromeos { 17 namespace chromeos {
18 namespace locale_util { 18 namespace locale_util {
19 19
20 struct LanguageSwitchResult { 20 struct LanguageSwitchResult {
21 LanguageSwitchResult(const std::string& requested_locale, 21 LanguageSwitchResult(const std::string& requested_locale,
22 const std::string& loaded_locale, 22 const std::string& loaded_locale,
23 bool success); 23 bool success);
(...skipping 24 matching lines...) Expand all
48 void SwitchLanguage(const std::string& locale, 48 void SwitchLanguage(const std::string& locale,
49 const bool enable_locale_keyboard_layouts, 49 const bool enable_locale_keyboard_layouts,
50 const bool login_layouts_only, 50 const bool login_layouts_only,
51 const SwitchLanguageCallback& callback, 51 const SwitchLanguageCallback& callback,
52 Profile* profile); 52 Profile* profile);
53 53
54 } // namespace locale_util 54 } // namespace locale_util
55 } // namespace chromeos 55 } // namespace chromeos
56 56
57 #endif // CHROME_BROWSER_CHROMEOS_BASE_LOCALE_UTIL_H_ 57 #endif // CHROME_BROWSER_CHROMEOS_BASE_LOCALE_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/base/file_flusher_unittest.cc ('k') | chrome/browser/chromeos/base/locale_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698