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

Side by Side Diff: chrome/browser/sessions/session_service.h

Issue 6313009: Add possibility to divide chrome users into groups of equal size, and change ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
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_SESSIONS_SESSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_
6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ 6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 437
438 // Are there any open trackable browsers? 438 // Are there any open trackable browsers?
439 bool has_open_trackable_browsers_; 439 bool has_open_trackable_browsers_;
440 440
441 // If true and a new tabbed browser is created and there are no opened tabbed 441 // If true and a new tabbed browser is created and there are no opened tabbed
442 // browser (has_open_trackable_browsers_ is false), then the current session 442 // browser (has_open_trackable_browsers_ is false), then the current session
443 // is made the previous session. See description above class for details on 443 // is made the previous session. See description above class for details on
444 // current/previous session. 444 // current/previous session.
445 bool move_on_new_browser_; 445 bool move_on_new_browser_;
446 446
447 // Used for reporting frequency of session alteriing operations. 447 // Used for reporting frequency of session altering operations.
448 base::TimeTicks last_updated_tab_closed_time_; 448 base::TimeTicks last_updated_tab_closed_time_;
449 base::TimeTicks last_updated_nav_list_pruned_time_; 449 base::TimeTicks last_updated_nav_list_pruned_time_;
450 base::TimeTicks last_updated_nav_entry_commit_time_; 450 base::TimeTicks last_updated_nav_entry_commit_time_;
451 base::TimeTicks last_updated_save_time_; 451 base::TimeTicks last_updated_save_time_;
452 452
453 // Constants used in calculating histogram data. 453 // Constants used in calculating histogram data.
454 const base::TimeDelta save_delay_in_millis_; 454 const base::TimeDelta save_delay_in_millis_;
455 const base::TimeDelta save_delay_in_mins_; 455 const base::TimeDelta save_delay_in_mins_;
456 const base::TimeDelta save_delay_in_hrs_; 456 const base::TimeDelta save_delay_in_hrs_;
457 457
458 DISALLOW_COPY_AND_ASSIGN(SessionService); 458 DISALLOW_COPY_AND_ASSIGN(SessionService);
459 }; 459 };
460 460
461 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ 461 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/new_new_tab.js ('k') | chrome/browser/web_resource/web_resource_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698