OLD | NEW |
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 #ifndef CHROME_BROWSER_FIREFOX_PROFILE_LOCK_H__ | 5 #ifndef CHROME_BROWSER_IMPORTER_FIREFOX_PROFILE_LOCK_H__ |
6 #define CHROME_BROWSER_FIREFOX_PROFILE_LOCK_H__ | 6 #define CHROME_BROWSER_IMPORTER_FIREFOX_PROFILE_LOCK_H__ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "testing/gtest/include/gtest/gtest_prod.h" | 13 #include "testing/gtest/include/gtest/gtest_prod.h" |
14 | 14 |
15 // Firefox is designed to allow only one application to access its | 15 // Firefox is designed to allow only one application to access its |
16 // profile at the same time. | 16 // profile at the same time. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 // Full path of the lock file in the profile folder. | 84 // Full path of the lock file in the profile folder. |
85 std::wstring lock_file_; | 85 std::wstring lock_file_; |
86 | 86 |
87 // The handle of the lock file. | 87 // The handle of the lock file. |
88 HANDLE lock_handle_; | 88 HANDLE lock_handle_; |
89 | 89 |
90 DISALLOW_EVIL_CONSTRUCTORS(FirefoxProfileLock); | 90 DISALLOW_EVIL_CONSTRUCTORS(FirefoxProfileLock); |
91 }; | 91 }; |
92 | 92 |
93 #endif // CHROME_BROWSER_FIREFOX_PROFILE_LOCK_H__ | 93 #endif // CHROME_BROWSER_IMPORTER_FIREFOX_PROFILE_LOCK_H__ |
94 | 94 |
OLD | NEW |