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

Side by Side Diff: chrome/browser/chromeos/enrollment_dialog_view.h

Issue 2452283003: chromeos: Make network enrollment and SIM unlock dialogs work with mash (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/enrollment_dialog_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHROMEOS_ENROLLMENT_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ENROLLMENT_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_ENROLLMENT_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_ENROLLMENT_DIALOG_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector>
10 9
11 #include "base/callback_forward.h"
12 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
13 11
14 class Profile;
15
16 namespace chromeos { 12 namespace chromeos {
17 namespace enrollment { 13 namespace enrollment {
18 14
19 // Returns true if a dialog was successfully created. 15 // Creates and shows the dialog for certificate-based network enrollment. If the
16 // |owning_window| is null the dialog is placed in the appropriate modal dialog
17 // dialog container on the primary display. Returns true if a dialog was
18 // successfully created.
20 bool CreateEnrollmentDialog(const std::string& network_id, 19 bool CreateEnrollmentDialog(const std::string& network_id,
21 gfx::NativeWindow owning_window); 20 gfx::NativeWindow owning_window);
22 21
23 } // namespace enrollment 22 } // namespace enrollment
24 } // namespace chromeos 23 } // namespace chromeos
25 24
26 #endif // CHROME_BROWSER_CHROMEOS_ENROLLMENT_DIALOG_VIEW_H_ 25 #endif // CHROME_BROWSER_CHROMEOS_ENROLLMENT_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/enrollment_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698