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

Side by Side Diff: chrome/browser/ui/startup/default_browser_prompt_win.cc

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/ui/startup/default_browser_prompt.h" 5 #include "chrome/browser/ui/startup/default_browser_prompt.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/shell_integration.h" 9 #include "chrome/browser/shell_integration.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 23 matching lines...) Expand all
34 private: 34 private:
35 explicit SetMetroBrowserFlowLauncher(Profile* profile) 35 explicit SetMetroBrowserFlowLauncher(Profile* profile)
36 : profile_(profile) { 36 : profile_(profile) {
37 registrar_.Add(this, content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME, 37 registrar_.Add(this, content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME,
38 content::NotificationService::AllSources()); 38 content::NotificationService::AllSources());
39 } 39 }
40 40
41 // content::NotificationObserver override: 41 // content::NotificationObserver override:
42 virtual void Observe(int type, 42 virtual void Observe(int type,
43 const content::NotificationSource& source, 43 const content::NotificationSource& source,
44 const content::NotificationDetails& details) OVERRIDE; 44 const content::NotificationDetails& details) override;
45 45
46 content::NotificationRegistrar registrar_; 46 content::NotificationRegistrar registrar_;
47 Profile* profile_; 47 Profile* profile_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(SetMetroBrowserFlowLauncher); 49 DISALLOW_COPY_AND_ASSIGN(SetMetroBrowserFlowLauncher);
50 }; 50 };
51 51
52 void SetMetroBrowserFlowLauncher::Observe( 52 void SetMetroBrowserFlowLauncher::Observe(
53 int type, 53 int type,
54 const content::NotificationSource& source, 54 const content::NotificationSource& source,
(...skipping 26 matching lines...) Expand all
81 81
82 if (show_status) { 82 if (show_status) {
83 startup_metric_utils::SetNonBrowserUIDisplayed(); 83 startup_metric_utils::SetNonBrowserUIDisplayed();
84 SetMetroBrowserFlowLauncher::LaunchSoon(profile); 84 SetMetroBrowserFlowLauncher::LaunchSoon(profile);
85 } 85 }
86 86
87 return show_status; 87 return show_status;
88 } 88 }
89 89
90 } // namespace chrome 90 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/default_browser_prompt.cc ('k') | chrome/browser/ui/startup/google_api_keys_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698