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

Side by Side Diff: chrome/browser/importer/firefox2_importer.h

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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
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 #ifndef CHROME_BROWSER_IMPORTER_FIREFOX2_IMPORTER_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_FIREFOX2_IMPORTER_H_
6 #define CHROME_BROWSER_IMPORTER_FIREFOX2_IMPORTER_H_ 6 #define CHROME_BROWSER_IMPORTER_FIREFOX2_IMPORTER_H_
7 7
8 #include "chrome/browser/importer/importer.h" 8 #include "chrome/browser/importer/importer.h"
9 9
10 class TemplateURL; 10 class TemplateURL;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool* is_toolbar_folder); 68 bool* is_toolbar_folder);
69 // See above, this will also put the data: URL of the favicon into *favicon 69 // See above, this will also put the data: URL of the favicon into *favicon
70 // if there is a favicon given. |post_data| is set for POST base keywords to 70 // if there is a favicon given. |post_data| is set for POST base keywords to
71 // the contents of the actual POST (with %s for the search term). 71 // the contents of the actual POST (with %s for the search term).
72 static bool ParseBookmarkFromLine(const std::string& line, 72 static bool ParseBookmarkFromLine(const std::string& line,
73 const std::string& charset, 73 const std::string& charset,
74 std::wstring* title, 74 std::wstring* title,
75 GURL* url, 75 GURL* url,
76 GURL* favicon, 76 GURL* favicon,
77 std::wstring* shortcut, 77 std::wstring* shortcut,
78 Time* add_date, 78 base::Time* add_date,
79 std::wstring* post_data); 79 std::wstring* post_data);
80 80
81 // Fetches the given attribute value from the |tag|. Returns true if 81 // Fetches the given attribute value from the |tag|. Returns true if
82 // successful, and |value| will contain the value. 82 // successful, and |value| will contain the value.
83 static bool GetAttribute(const std::string& tag, 83 static bool GetAttribute(const std::string& tag,
84 const std::string& attribute, 84 const std::string& attribute,
85 std::string* value); 85 std::string* value);
86 86
87 // There are some characters in html file will be escaped: 87 // There are some characters in html file will be escaped:
88 // '<', '>', '"', '\', '&' 88 // '<', '>', '"', '\', '&'
(...skipping 14 matching lines...) Expand all
103 103
104 ProfileWriter* writer_; 104 ProfileWriter* writer_;
105 std::wstring source_path_; 105 std::wstring source_path_;
106 std::wstring app_path_; 106 std::wstring app_path_;
107 107
108 DISALLOW_EVIL_CONSTRUCTORS(Firefox2Importer); 108 DISALLOW_EVIL_CONSTRUCTORS(Firefox2Importer);
109 }; 109 };
110 110
111 #endif // CHROME_BROWSER_IMPORTER_FIREFOX2_IMPORTER_H_ 111 #endif // CHROME_BROWSER_IMPORTER_FIREFOX2_IMPORTER_H_
112 112
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698