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

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

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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 #include "chrome/browser/chromeos/enrollment_dialog_view.h" 5 #include "chrome/browser/chromeos/enrollment_dialog_view.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/chromeos/profiles/profile_helper.h" 9 #include "chrome/browser/chromeos/profiles/profile_helper.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 public: 42 public:
43 virtual ~EnrollmentDialogView(); 43 virtual ~EnrollmentDialogView();
44 44
45 static void ShowDialog(gfx::NativeWindow owning_window, 45 static void ShowDialog(gfx::NativeWindow owning_window,
46 const std::string& network_name, 46 const std::string& network_name,
47 Profile* profile, 47 Profile* profile,
48 const GURL& target_uri, 48 const GURL& target_uri,
49 const base::Closure& connect); 49 const base::Closure& connect);
50 50
51 // views::DialogDelegateView overrides 51 // views::DialogDelegateView overrides
52 virtual int GetDialogButtons() const OVERRIDE; 52 virtual int GetDialogButtons() const override;
53 virtual bool Accept() OVERRIDE; 53 virtual bool Accept() override;
54 virtual void OnClosed() OVERRIDE; 54 virtual void OnClosed() override;
55 virtual base::string16 GetDialogButtonLabel( 55 virtual base::string16 GetDialogButtonLabel(
56 ui::DialogButton button) const OVERRIDE; 56 ui::DialogButton button) const override;
57 57
58 // views::WidgetDelegate overrides 58 // views::WidgetDelegate overrides
59 virtual ui::ModalType GetModalType() const OVERRIDE; 59 virtual ui::ModalType GetModalType() const override;
60 virtual base::string16 GetWindowTitle() const OVERRIDE; 60 virtual base::string16 GetWindowTitle() const override;
61 61
62 // views::View overrides 62 // views::View overrides
63 virtual gfx::Size GetPreferredSize() const OVERRIDE; 63 virtual gfx::Size GetPreferredSize() const override;
64 64
65 private: 65 private:
66 EnrollmentDialogView(const std::string& network_name, 66 EnrollmentDialogView(const std::string& network_name,
67 Profile* profile, 67 Profile* profile,
68 const GURL& target_uri, 68 const GURL& target_uri,
69 const base::Closure& connect); 69 const base::Closure& connect);
70 void InitDialog(); 70 void InitDialog();
71 71
72 bool accepted_; 72 bool accepted_;
73 std::string network_name_; 73 std::string network_name_;
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 DialogEnrollmentDelegate* enrollment = 301 DialogEnrollmentDelegate* enrollment =
302 new DialogEnrollmentDelegate(owning_window, network->name(), profile); 302 new DialogEnrollmentDelegate(owning_window, network->name(), profile);
303 return enrollment->Enroll(cert_config.pattern.enrollment_uri_list(), 303 return enrollment->Enroll(cert_config.pattern.enrollment_uri_list(),
304 base::Bind(&EnrollmentComplete, service_path)); 304 base::Bind(&EnrollmentComplete, service_path));
305 } 305 }
306 306
307 } // namespace enrollment 307 } // namespace enrollment
308 308
309 } // namespace chromeos 309 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/write_on_cache_file_unittest.cc ('k') | chrome/browser/chromeos/events/event_rewriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698