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

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

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/firefox3_importer.cc ('k') | chrome/browser/importer/importer.cc » ('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/importer/ie_importer.h" 5 #include "chrome/browser/importer/ie_importer.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <intshcut.h> 8 #include <intshcut.h>
9 #include <pstore.h> 9 #include <pstore.h>
10 #include <shlobj.h> 10 #include <shlobj.h>
11 #include <urlhist.h> 11 #include <urlhist.h>
12 12
13 #include <algorithm> 13 #include <algorithm>
14 14
15 #include "app/l10n_util.h"
15 #include "base/file_util.h" 16 #include "base/file_util.h"
16 #include "base/registry.h" 17 #include "base/registry.h"
17 #include "base/string_util.h" 18 #include "base/string_util.h"
18 #include "base/time.h" 19 #include "base/time.h"
19 #include "base/win_util.h" 20 #include "base/win_util.h"
20 #include "chrome/browser/bookmarks/bookmark_model.h" 21 #include "chrome/browser/bookmarks/bookmark_model.h"
21 #include "chrome/browser/password_manager/ie7_password.h" 22 #include "chrome/browser/password_manager/ie7_password.h"
22 #include "chrome/browser/search_engines/template_url_model.h" 23 #include "chrome/browser/search_engines/template_url_model.h"
23 #include "chrome/common/l10n_util.h"
24 #include "chrome/common/time_format.h" 24 #include "chrome/common/time_format.h"
25 #include "chrome/common/url_constants.h" 25 #include "chrome/common/url_constants.h"
26 #include "chrome/common/win_util.h" 26 #include "chrome/common/win_util.h"
27 #include "googleurl/src/gurl.h" 27 #include "googleurl/src/gurl.h"
28 #include "grit/generated_resources.h" 28 #include "grit/generated_resources.h"
29 29
30 using base::Time; 30 using base::Time;
31 31
32 namespace { 32 namespace {
33 33
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 if (version < 0) { 559 if (version < 0) {
560 wchar_t buffer[128]; 560 wchar_t buffer[128];
561 DWORD buffer_length = sizeof(buffer); 561 DWORD buffer_length = sizeof(buffer);
562 bool result = ReadFromRegistry(HKEY_LOCAL_MACHINE, 562 bool result = ReadFromRegistry(HKEY_LOCAL_MACHINE,
563 L"Software\\Microsoft\\Internet Explorer", 563 L"Software\\Microsoft\\Internet Explorer",
564 L"Version", buffer, &buffer_length); 564 L"Version", buffer, &buffer_length);
565 version = (result ? _wtoi(buffer) : 0); 565 version = (result ? _wtoi(buffer) : 0);
566 } 566 }
567 return version; 567 return version;
568 } 568 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/firefox3_importer.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698