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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 57383010: Rename service subdir under chrome/browser to service_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/options/browser_options_handler.h" 5 #include "chrome/browser/ui/webui/options/browser_options_handler.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "apps/shell_window.h" 10 #include "apps/shell_window.h"
(...skipping 29 matching lines...) Expand all
40 #include "chrome/browser/profiles/profile_info_util.h" 40 #include "chrome/browser/profiles/profile_info_util.h"
41 #include "chrome/browser/profiles/profile_manager.h" 41 #include "chrome/browser/profiles/profile_manager.h"
42 #include "chrome/browser/profiles/profile_metrics.h" 42 #include "chrome/browser/profiles/profile_metrics.h"
43 #include "chrome/browser/profiles/profile_shortcut_manager.h" 43 #include "chrome/browser/profiles/profile_shortcut_manager.h"
44 #include "chrome/browser/profiles/profile_window.h" 44 #include "chrome/browser/profiles/profile_window.h"
45 #include "chrome/browser/profiles/profiles_state.h" 45 #include "chrome/browser/profiles/profiles_state.h"
46 #include "chrome/browser/search/search.h" 46 #include "chrome/browser/search/search.h"
47 #include "chrome/browser/search_engines/template_url.h" 47 #include "chrome/browser/search_engines/template_url.h"
48 #include "chrome/browser/search_engines/template_url_service.h" 48 #include "chrome/browser/search_engines/template_url_service.h"
49 #include "chrome/browser/search_engines/template_url_service_factory.h" 49 #include "chrome/browser/search_engines/template_url_service_factory.h"
50 #include "chrome/browser/service/service_process_control.h"
51 #include "chrome/browser/signin/signin_manager.h" 50 #include "chrome/browser/signin/signin_manager.h"
52 #include "chrome/browser/signin/signin_manager_factory.h" 51 #include "chrome/browser/signin/signin_manager_factory.h"
53 #include "chrome/browser/sync/profile_sync_service.h" 52 #include "chrome/browser/sync/profile_sync_service.h"
54 #include "chrome/browser/sync/profile_sync_service_factory.h" 53 #include "chrome/browser/sync/profile_sync_service_factory.h"
55 #include "chrome/browser/sync/sync_ui_util.h" 54 #include "chrome/browser/sync/sync_ui_util.h"
56 #include "chrome/browser/themes/theme_service.h" 55 #include "chrome/browser/themes/theme_service.h"
57 #include "chrome/browser/themes/theme_service_factory.h" 56 #include "chrome/browser/themes/theme_service_factory.h"
58 #include "chrome/browser/ui/browser_finder.h" 57 #include "chrome/browser/ui/browser_finder.h"
59 #include "chrome/browser/ui/chrome_select_file_policy.h" 58 #include "chrome/browser/ui/chrome_select_file_policy.h"
60 #include "chrome/browser/ui/host_desktop.h" 59 #include "chrome/browser/ui/host_desktop.h"
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 void BrowserOptionsHandler::SetupManagingSupervisedUsers() { 1579 void BrowserOptionsHandler::SetupManagingSupervisedUsers() {
1581 bool has_users = !Profile::FromWebUI(web_ui())-> 1580 bool has_users = !Profile::FromWebUI(web_ui())->
1582 GetPrefs()->GetDictionary(prefs::kManagedUsers)->empty(); 1581 GetPrefs()->GetDictionary(prefs::kManagedUsers)->empty();
1583 base::FundamentalValue has_users_value(has_users); 1582 base::FundamentalValue has_users_value(has_users);
1584 web_ui()->CallJavascriptFunction( 1583 web_ui()->CallJavascriptFunction(
1585 "BrowserOptions.updateManagesSupervisedUsers", 1584 "BrowserOptions.updateManagesSupervisedUsers",
1586 has_users_value); 1585 has_users_value);
1587 } 1586 }
1588 1587
1589 } // namespace options 1588 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/service_process/service_process_control_mac.mm ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698