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

Side by Side Diff: chrome/browser/ui/webui/options/manage_profile_handler.h

Issue 339023003: Make 'Disconnect from google account' dialog box shows correct message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Version 0 Created 6 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 unified diff | Download patch
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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // Sends an object to WebUI of the form: 66 // Sends an object to WebUI of the form:
67 // profileNames = { 67 // profileNames = {
68 // "Profile Name 1": true, 68 // "Profile Name 1": true,
69 // "Profile Name 2": true, 69 // "Profile Name 2": true,
70 // ... 70 // ...
71 // }; 71 // };
72 // This is used to detect duplicate profile names. 72 // This is used to detect duplicate profile names.
73 void SendExistingProfileNames(); 73 void SendExistingProfileNames();
74 74
75 // Show disconnect managed profile dialog after generating domain and user
76 // specific strings.
77 void ShowDisconnectManagedProfileDialog(const base::ListValue* args);
78
75 // Callback for the "setProfileIconAndName" message. Sets the name and icon 79 // Callback for the "setProfileIconAndName" message. Sets the name and icon
76 // of a given profile. 80 // of a given profile.
77 // |args| is of the form: [ 81 // |args| is of the form: [
78 // /*string*/ profileFilePath, 82 // /*string*/ profileFilePath,
79 // /*string*/ newProfileIconURL 83 // /*string*/ newProfileIconURL
80 // /*string*/ newProfileName, 84 // /*string*/ newProfileName,
81 // ] 85 // ]
82 void SetProfileIconAndName(const base::ListValue* args); 86 void SetProfileIconAndName(const base::ListValue* args);
83 87
84 #if defined(ENABLE_SETTINGS_APP) 88 #if defined(ENABLE_SETTINGS_APP)
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 139
136 // For generating weak pointers to itself for callbacks. 140 // For generating weak pointers to itself for callbacks.
137 base::WeakPtrFactory<ManageProfileHandler> weak_factory_; 141 base::WeakPtrFactory<ManageProfileHandler> weak_factory_;
138 142
139 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); 143 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler);
140 }; 144 };
141 145
142 } // namespace options 146 } // namespace options
143 147
144 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ 148 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/manage_profile_overlay.js ('k') | chrome/browser/ui/webui/options/manage_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698