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

Side by Side Diff: chrome/browser/ui/android/tab_model/tab_model.h

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 #ifndef CHROME_BROWSER_UI_ANDROID_TAB_MODEL_TAB_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_TAB_MODEL_TAB_MODEL_H_
6 #define CHROME_BROWSER_UI_ANDROID_TAB_MODEL_TAB_MODEL_H_ 6 #define CHROME_BROWSER_UI_ANDROID_TAB_MODEL_TAB_MODEL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/sync/glue/synced_window_delegate.h" 9 #include "chrome/browser/sync/glue/synced_window_delegate.h"
10 #include "chrome/browser/ui/toolbar/toolbar_model.h" 10 #include "chrome/browser/ui/toolbar/toolbar_model.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Instructs the TabModel to broadcast a notification that all tabs are now 61 // Instructs the TabModel to broadcast a notification that all tabs are now
62 // loaded from storage. 62 // loaded from storage.
63 void BroadcastSessionRestoreComplete(); 63 void BroadcastSessionRestoreComplete();
64 64
65 ToolbarModel* GetToolbarModel(); 65 ToolbarModel* GetToolbarModel();
66 66
67 private: 67 private:
68 // Determines how TabModel will interact with the profile. 68 // Determines how TabModel will interact with the profile.
69 virtual void Observe(int type, 69 virtual void Observe(int type,
70 const content::NotificationSource& source, 70 const content::NotificationSource& source,
71 const content::NotificationDetails& details) OVERRIDE; 71 const content::NotificationDetails& details) override;
72 72
73 // The profile associated with this TabModel. 73 // The profile associated with this TabModel.
74 Profile* profile_; 74 Profile* profile_;
75 75
76 // Describes if this TabModel contains an off-the-record profile. 76 // Describes if this TabModel contains an off-the-record profile.
77 bool is_off_the_record_; 77 bool is_off_the_record_;
78 78
79 // The SyncedWindowDelegate associated with this TabModel. 79 // The SyncedWindowDelegate associated with this TabModel.
80 scoped_ptr<browser_sync::SyncedWindowDelegateAndroid> synced_window_delegate_; 80 scoped_ptr<browser_sync::SyncedWindowDelegateAndroid> synced_window_delegate_;
81 81
82 // Unique identifier of this TabModel for session restore. This id is only 82 // Unique identifier of this TabModel for session restore. This id is only
83 // unique within the current session, and is not guaranteed to be unique 83 // unique within the current session, and is not guaranteed to be unique
84 // across sessions. 84 // across sessions.
85 SessionID session_id_; 85 SessionID session_id_;
86 86
87 // The Registrar used to register TabModel for notifications. 87 // The Registrar used to register TabModel for notifications.
88 content::NotificationRegistrar registrar_; 88 content::NotificationRegistrar registrar_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(TabModel); 90 DISALLOW_COPY_AND_ASSIGN(TabModel);
91 }; 91 };
92 92
93 #endif // CHROME_BROWSER_UI_ANDROID_TAB_MODEL_TAB_MODEL_H_ 93 #endif // CHROME_BROWSER_UI_ANDROID_TAB_MODEL_TAB_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698