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

Side by Side Diff: chrome/browser/chromeos/cros/cryptohome_library.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/cros/cryptohome_library.h" 5 #include "chrome/browser/chromeos/cros/cryptohome_library.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "chrome/browser/chromeos/cros/cros_library.h" 11 #include "chrome/browser/chromeos/cros/cros_library.h"
12 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 14
15 using content::BrowserThread;
16
15 namespace { 17 namespace {
16 const char kStubSystemSalt[] = "stub_system_salt"; 18 const char kStubSystemSalt[] = "stub_system_salt";
17 } 19 }
18 20
19 namespace chromeos { 21 namespace chromeos {
20 22
21 // This class handles the interaction with the ChromeOS cryptohome library APIs. 23 // This class handles the interaction with the ChromeOS cryptohome library APIs.
22 class CryptohomeLibraryImpl : public CryptohomeLibrary { 24 class CryptohomeLibraryImpl : public CryptohomeLibrary {
23 public: 25 public:
24 CryptohomeLibraryImpl() {} 26 CryptohomeLibraryImpl() {}
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 CryptohomeLibrary* impl; 480 CryptohomeLibrary* impl;
479 if (stub) 481 if (stub)
480 impl = new CryptohomeLibraryStubImpl(); 482 impl = new CryptohomeLibraryStubImpl();
481 else 483 else
482 impl = new CryptohomeLibraryImpl(); 484 impl = new CryptohomeLibraryImpl();
483 impl->Init(); 485 impl->Init();
484 return impl; 486 return impl;
485 } 487 }
486 488
487 } // namespace chromeos 489 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/cert_library.cc ('k') | chrome/browser/chromeos/cros/mock_mount_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698