win: Add app.clearRecentDocuments API

This commit is contained in:
Cheng Zhao 2014-11-17 16:13:47 +08:00
parent 528f7bd45f
commit 48412769df
5 changed files with 21 additions and 0 deletions

View file

@ -23,6 +23,9 @@ void Browser::AddRecentDocument(const base::FilePath& path) {
[[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:u];
}
void Browser::ClearRecentDocuments() {
}
std::string Browser::GetExecutableFileVersion() const {
NSDictionary* infoDictionary = base::mac::OuterBundle().infoDictionary;
NSString *version = [infoDictionary objectForKey:@"CFBundleVersion"];