summaryrefslogtreecommitdiffstats
path: root/chrome/browser/visitedlink_master.cc
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 16:36:21 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 16:36:21 +0000
commita233beca48ebc61d37080e4b3e4591ecd41c8111 (patch)
tree1263325fbc149b1a5f674a905b9f211494fb2071 /chrome/browser/visitedlink_master.cc
parent5ced5eb46be9e6c2d2b72a421d930cee6d7fcf89 (diff)
downloadchromium_src-a233beca48ebc61d37080e4b3e4591ecd41c8111.zip
chromium_src-a233beca48ebc61d37080e4b3e4591ecd41c8111.tar.gz
chromium_src-a233beca48ebc61d37080e4b3e4591ecd41c8111.tar.bz2
Simplifies the project configuration by setting the lib dependency in the source file.
BUG=1211534 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink_master.cc')
-rw-r--r--chrome/browser/visitedlink_master.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/visitedlink_master.cc b/chrome/browser/visitedlink_master.cc
index 1d066a9..81796aa 100644
--- a/chrome/browser/visitedlink_master.cc
+++ b/chrome/browser/visitedlink_master.cc
@@ -27,12 +27,12 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "chrome/browser/visitedlink_master.h"
+
#include <windows.h>
#include <shlobj.h>
#include <algorithm>
-#include "chrome/browser/visitedlink_master.h"
-
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/path_service.h"
@@ -43,6 +43,10 @@
#include "chrome/browser/profile.h"
#include "chrome/common/win_util.h"
+#ifdef _WIN32
+#pragma comment(lib, "rpcrt4.lib") // for UuidCreate().
+#endif
+
const int32 VisitedLinkMaster::kFileHeaderSignatureOffset = 0;
const int32 VisitedLinkMaster::kFileHeaderVersionOffset = 4;
const int32 VisitedLinkMaster::kFileHeaderLengthOffset = 8;