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

Side by Side Diff: chrome/browser/chromeos/login/signin/merge_session_throttle.h

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_CHROMEOS_LOGIN_MERGE_SESSION_THROTTLE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_THROTTLE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MERGE_SESSION_THROTTLE_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_THROTTLE_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/atomic_ref_count.h" 10 #include "base/atomic_ref_count.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "content/public/browser/resource_throttle.h" 13 #include "content/public/browser/resource_throttle.h"
14 #include "net/base/completion_callback.h" 14 #include "net/base/completion_callback.h"
15 #include "webkit/common/resource_type.h" 15 #include "webkit/common/resource_type.h"
16 16
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // Global counter that keeps the track of session merge status for all 86 // Global counter that keeps the track of session merge status for all
87 // encountered profiles. This is used to determine if a throttle should 87 // encountered profiles. This is used to determine if a throttle should
88 // even be even added to new requests. Value of 0 (initial) means that we 88 // even be even added to new requests. Value of 0 (initial) means that we
89 // probably have some profiles to restore, while 1 means that all known 89 // probably have some profiles to restore, while 1 means that all known
90 // profiles are restored. 90 // profiles are restored.
91 static base::AtomicRefCount all_profiles_restored_; 91 static base::AtomicRefCount all_profiles_restored_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(MergeSessionThrottle); 93 DISALLOW_COPY_AND_ASSIGN(MergeSessionThrottle);
94 }; 94 };
95 95
96 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MERGE_SESSION_THROTTLE_H_ 96 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_THROTTLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698