|
Unify HasGDocFileExtension and IsHostedDocumentByExtentoin.
One more clean up before getting 397391 done.
HasGDocFileExtension is a very thin wrapper of the latter
function, and what all the callers need is the former interface.
This CL merges those two functions into one to make it more
easily searchable where in our code is relying on the extensions.
BUG= 397391
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285549
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+33 lines, -25 lines) |
Patch |
 |
M |
chrome/browser/chromeos/drive/file_system/copy_operation.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_util.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_util.cc
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_util_unittest.cc
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_manager/file_tasks.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_manager/open_with_browser.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/drive/drive_api_util.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/drive/drive_api_util.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/drive/drive_api_util_unittest.cc
|
View
|
1
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|