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

Side by Side Diff: chrome/browser/ui/browser_list.h

Issue 6625076: Removing references to off the record in comments and log messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/browser/ui/find_bar/find_bar_state.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BROWSER_LIST_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_LIST_H_
6 #define CHROME_BROWSER_UI_BROWSER_LIST_H_ 6 #define CHROME_BROWSER_UI_BROWSER_LIST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 151 }
152 152
153 // Return the number of browsers with the following profile which are 153 // Return the number of browsers with the following profile which are
154 // currently open. 154 // currently open.
155 static size_t GetBrowserCount(Profile* p); 155 static size_t GetBrowserCount(Profile* p);
156 156
157 // Return the number of browsers with the following profile and type which are 157 // Return the number of browsers with the following profile and type which are
158 // currently open. 158 // currently open.
159 static size_t GetBrowserCountForType(Profile* p, Browser::Type type); 159 static size_t GetBrowserCountForType(Profile* p, Browser::Type type);
160 160
161 // Returns true if at least one off the record session is active. 161 // Returns true if at least one incognito session is active.
162 static bool IsOffTheRecordSessionActive(); 162 static bool IsOffTheRecordSessionActive();
163 163
164 // Send out notifications. 164 // Send out notifications.
165 // For ChromeOS, also request session manager to end the session. 165 // For ChromeOS, also request session manager to end the session.
166 static void NotifyAndTerminate(bool fast_path); 166 static void NotifyAndTerminate(bool fast_path);
167 167
168 // Called once there are no more browsers open and the application is exiting. 168 // Called once there are no more browsers open and the application is exiting.
169 static void AllBrowsersClosedAndAppExiting(); 169 static void AllBrowsersClosedAndAppExiting();
170 170
171 private: 171 private:
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // tab index into the current Browser of the current web view 249 // tab index into the current Browser of the current web view
250 int web_view_index_; 250 int web_view_index_;
251 251
252 // Current TabContents, or NULL if we're at the end of the list. This can 252 // Current TabContents, or NULL if we're at the end of the list. This can
253 // be extracted given the browser iterator and index, but it's nice to cache 253 // be extracted given the browser iterator and index, but it's nice to cache
254 // this since the caller may access the current host many times. 254 // this since the caller may access the current host many times.
255 TabContents* cur_; 255 TabContents* cur_;
256 }; 256 };
257 257
258 #endif // CHROME_BROWSER_UI_BROWSER_LIST_H_ 258 #endif // CHROME_BROWSER_UI_BROWSER_LIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/browser/ui/find_bar/find_bar_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698