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

Side by Side Diff: chrome/browser/importer/firefox_profile_lock.cc

Issue 3035: Move importer files into an importer subdirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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
« no previous file with comments | « chrome/browser/importer/firefox_profile_lock.h ('k') | chrome/browser/importer/ie_importer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/firefox_profile_lock.h" 5 #include "chrome/browser/importer/firefox_profile_lock.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 8
9 // This class is based on Firefox code in: 9 // This class is based on Firefox code in:
10 // profile/dirserviceprovider/src/nsProfileLock.cpp 10 // profile/dirserviceprovider/src/nsProfileLock.cpp
11 // The license block is: 11 // The license block is:
12 12
13 /* ***** BEGIN LICENSE BLOCK ***** 13 /* ***** BEGIN LICENSE BLOCK *****
14 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 14 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
15 * 15 *
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 return; 78 return;
79 CloseHandle(lock_handle_); 79 CloseHandle(lock_handle_);
80 lock_handle_ = INVALID_HANDLE_VALUE; 80 lock_handle_ = INVALID_HANDLE_VALUE;
81 } 81 }
82 82
83 bool FirefoxProfileLock::HasAcquired() { 83 bool FirefoxProfileLock::HasAcquired() {
84 return (lock_handle_ != INVALID_HANDLE_VALUE); 84 return (lock_handle_ != INVALID_HANDLE_VALUE);
85 } 85 }
86 86
87 87
OLDNEW
« no previous file with comments | « chrome/browser/importer/firefox_profile_lock.h ('k') | chrome/browser/importer/ie_importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698