Searched refs:FirefoxProfileLock (Results 1 – 7 of 7) sorted by relevance
26 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 …]
57 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 FirefoxProfileLock78 FirefoxProfileLock::~FirefoxProfileLock() { in ~FirefoxProfileLock()
59 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()
54 void FirefoxProfileLock::Init() { in Init()58 void FirefoxProfileLock::Lock() { in Lock()66 void FirefoxProfileLock::Unlock() { in Unlock()73 bool FirefoxProfileLock::HasAcquired() { in HasAcquired()
69 class FirefoxProfileLock {71 explicit FirefoxProfileLock(const FilePath& path);72 ~FirefoxProfileLock();110 DISALLOW_COPY_AND_ASSIGN(FirefoxProfileLock);
20 class FirefoxProfileLock; variable162 scoped_ptr<FirefoxProfileLock> firefox_lock_;
190 firefox_lock_.reset(new FirefoxProfileLock(source_profile.source_path)); in CheckForFirefoxLock()