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

Side by Side Diff: chrome/browser/ie_importer.cc

Issue 1868: Moves bookmark related classes into bookmarks directory. There are no... (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/history_model.cc ('k') | chrome/browser/importer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ie_importer.h" 5 #include "chrome/browser/ie_importer.h"
6 6
7 #include <intshcut.h> 7 #include <intshcut.h>
8 #include <pstore.h> 8 #include <pstore.h>
9 #include <shlobj.h> 9 #include <shlobj.h>
10 #include <urlhist.h> 10 #include <urlhist.h>
11 #include <algorithm> 11 #include <algorithm>
12 12
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/registry.h" 14 #include "base/registry.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "base/win_util.h" 17 #include "base/win_util.h"
18 #include "chrome/browser/bookmark_bar_model.h" 18 #include "chrome/browser/bookmarks/bookmark_bar_model.h"
19 #include "chrome/browser/ie7_password.h" 19 #include "chrome/browser/ie7_password.h"
20 #include "chrome/browser/template_url_model.h" 20 #include "chrome/browser/template_url_model.h"
21 #include "chrome/common/l10n_util.h" 21 #include "chrome/common/l10n_util.h"
22 #include "chrome/common/time_format.h" 22 #include "chrome/common/time_format.h"
23 #include "chrome/common/win_util.h" 23 #include "chrome/common/win_util.h"
24 #include "googleurl/src/gurl.h" 24 #include "googleurl/src/gurl.h"
25 25
26 #include "generated_resources.h" 26 #include "generated_resources.h"
27 27
28 namespace { 28 namespace {
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 wchar_t buffer[128]; 558 wchar_t buffer[128];
559 DWORD buffer_length = sizeof(buffer); 559 DWORD buffer_length = sizeof(buffer);
560 bool result = ReadFromRegistry(HKEY_LOCAL_MACHINE, 560 bool result = ReadFromRegistry(HKEY_LOCAL_MACHINE,
561 L"Software\\Microsoft\\Internet Explorer", 561 L"Software\\Microsoft\\Internet Explorer",
562 L"Version", buffer, &buffer_length); 562 L"Version", buffer, &buffer_length);
563 version = (result ? _wtoi(buffer) : 0); 563 version = (result ? _wtoi(buffer) : 0);
564 } 564 }
565 return version; 565 return version;
566 } 566 }
567 567
OLDNEW
« no previous file with comments | « chrome/browser/history_model.cc ('k') | chrome/browser/importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698