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

Issue 19610: Safe browsing cleanup:... (Closed)

Created:
11 years, 11 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Safe browsing cleanup: * wstring -> FilePath * create versions of WriteFile/ReadFile with FilePath signatures Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=8797

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -58 lines) Patch
M base/file_util.h View 1 chunk +4 lines, -0 lines 0 comments Download
M base/file_util.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M base/file_util_posix.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M base/file_util_win.cc View 1 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/database_perftest.cc View 1 2 3 4 4 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.h View 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_bloom.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_bloom.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_impl.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database_unittest.cc View 1 2 3 4 4 chunks +15 lines, -11 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/common/chrome_constants.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/chrome_constants.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/common/sqlite_utils.h View 4 3 chunks +8 lines, -1 line 0 comments Download
M chrome/common/sqlite_utils.cc View 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Evan Stade
note addition of ToString() function in file_path. I'm guessing there's a good reason it doesn't ...
11 years, 11 months ago (2009-01-28 01:26:44 UTC) #1
Evan Martin
The reason we don't have ToString() that returns UTF-8 is that Windows normally doesn't handle ...
11 years, 11 months ago (2009-01-28 01:41:15 UTC) #2
Evan Martin
PS, relevant docs: http://www.sqlite.org/capi3ref.html#sqlite3_open
11 years, 11 months ago (2009-01-28 01:41:35 UTC) #3
Evan Stade
Aha, thanks for the link. For the future though, there are many places where filepaths ...
11 years, 11 months ago (2009-01-28 02:06:38 UTC) #4
Evan Stade
updated. http://codereview.chromium.org/19610/diff/270/90 File chrome/common/sqlite_utils.h (right): http://codereview.chromium.org/19610/diff/270/90#newcode315 Line 315: // TODO(estade): wrap the following in namespace. ...
11 years, 11 months ago (2009-01-28 02:33:14 UTC) #5
Evan Martin
11 years, 11 months ago (2009-01-28 02:41:00 UTC) #6
cool, lgtm

http://codereview.chromium.org/19610/diff/270/90
File chrome/common/sqlite_utils.h (right):

http://codereview.chromium.org/19610/diff/270/90#newcode317
Line 317: int OpenSqliteDb(const FilePath& filepath, sqlite3** database);
Can you document this function, and in particular the return value?  (Just
saying "see sqlite3_open docs" is sufficient for the latter.)

Powered by Google App Engine
This is Rietveld 408576698