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

Side by Side Diff: chrome/browser/chromeos/login/camera.h

Issue 6142009: Upating the app, ceee, chrome, ipc, media, and net directories to use the correct lock.h file. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Unified patch updating all references to the new base/synchronization/lock.h 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_CHROMEOS_LOGIN_CAMERA_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_CAMERA_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_CAMERA_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_CAMERA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/lock.h"
13 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/synchronization/lock.h"
14 #include "base/threading/thread.h" 14 #include "base/threading/thread.h"
15 #include "third_party/skia/include/core/SkBitmap.h" 15 #include "third_party/skia/include/core/SkBitmap.h"
16 16
17 class Task; 17 class Task;
18 namespace base { 18 namespace base {
19 class Thread; 19 class Thread;
20 } // namespace base 20 } // namespace base
21 21
22 namespace chromeos { 22 namespace chromeos {
23 23
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 int frame_height_; 174 int frame_height_;
175 175
176 // If set to true, the returned image will be reflected from the Y axis to 176 // If set to true, the returned image will be reflected from the Y axis to
177 // mimic mirror behavior. 177 // mimic mirror behavior.
178 bool mirrored_; 178 bool mirrored_;
179 179
180 // Image where camera frames are stored for UI thread to pick up. 180 // Image where camera frames are stored for UI thread to pick up.
181 SkBitmap frame_image_; 181 SkBitmap frame_image_;
182 182
183 // Lock that guards references to |frame_image_|. 183 // Lock that guards references to |frame_image_|.
184 mutable Lock image_lock_; 184 mutable base::Lock image_lock_;
185 185
186 // Lock that guards references to |camera_thread_|. 186 // Lock that guards references to |camera_thread_|.
187 mutable Lock thread_lock_; 187 mutable base::Lock thread_lock_;
188 188
189 DISALLOW_COPY_AND_ASSIGN(Camera); 189 DISALLOW_COPY_AND_ASSIGN(Camera);
190 }; 190 };
191 191
192 } // namespace chromeos 192 } // namespace chromeos
193 193
194 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_CAMERA_H_ 194 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_CAMERA_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dom_ui/system_settings_provider.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698