Home
last modified time | relevance | path

Searched refs:FirefoxProfileLock (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/importer/
Dfirefox_profile_lock_unittest.cc26 FirefoxProfileLock lock1(temp_dir_.path()); in TEST_F()
42 lock_file_path = lock_file_path.Append(FirefoxProfileLock::kLockFileName); in TEST_F()
44 scoped_ptr<FirefoxProfileLock> lock; in TEST_F()
45 EXPECT_EQ(static_cast<FirefoxProfileLock*>(NULL), lock.get()); in TEST_F()
47 lock.reset(new FirefoxProfileLock(test_path)); in TEST_F()
78 lock_file_path = lock_file_path.Append(FirefoxProfileLock::kLockFileName); in TEST_F()
86 scoped_ptr<FirefoxProfileLock> lock; in TEST_F()
87 EXPECT_EQ(static_cast<FirefoxProfileLock*>(NULL), lock.get()); in TEST_F()
88 lock.reset(new FirefoxProfileLock(test_path)); in TEST_F()
104 scoped_ptr<FirefoxProfileLock> lock1; in TEST_F()
[all …]
Dfirefox_profile_lock.cc57 const FilePath::CharType* FirefoxProfileLock::kLockFileName =
59 const FilePath::CharType* FirefoxProfileLock::kOldLockFileName =
63 const FilePath::CharType* FirefoxProfileLock::kLockFileName =
65 const FilePath::CharType* FirefoxProfileLock::kOldLockFileName =
68 const FilePath::CharType* FirefoxProfileLock::kLockFileName =
72 FirefoxProfileLock::FirefoxProfileLock(const FilePath& path) { in FirefoxProfileLock() function in FirefoxProfileLock
78 FirefoxProfileLock::~FirefoxProfileLock() { in ~FirefoxProfileLock()
Dfirefox_profile_lock_posix.cc59 void FirefoxProfileLock::Init() { in Init()
63 void FirefoxProfileLock::Lock() { in Lock()
76 void FirefoxProfileLock::Unlock() { in Unlock()
84 bool FirefoxProfileLock::HasAcquired() { in HasAcquired()
95 bool FirefoxProfileLock::LockWithFcntl() { in LockWithFcntl()
Dfirefox_profile_lock_win.cc54 void FirefoxProfileLock::Init() { in Init()
58 void FirefoxProfileLock::Lock() { in Lock()
66 void FirefoxProfileLock::Unlock() { in Unlock()
73 bool FirefoxProfileLock::HasAcquired() { in HasAcquired()
Dfirefox_profile_lock.h69 class FirefoxProfileLock {
71 explicit FirefoxProfileLock(const FilePath& path);
72 ~FirefoxProfileLock();
110 DISALLOW_COPY_AND_ASSIGN(FirefoxProfileLock);
Dimporter_host.h20 class FirefoxProfileLock; variable
162 scoped_ptr<FirefoxProfileLock> firefox_lock_;
Dimporter_host.cc190 firefox_lock_.reset(new FirefoxProfileLock(source_profile.source_path)); in CheckForFirefoxLock()