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

Side by Side Diff: chrome/browser/extensions/api/developer_private/entry_picker.cc

Issue 13937002: Really fix build after r193020. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/extensions/api/developer_private/entry_picker.h" 5 #include "chrome/browser/extensions/api/developer_private/entry_picker.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 base::Unretained(this), static_cast<void*>(NULL))); 57 base::Unretained(this), static_cast<void*>(NULL)));
58 } 58 }
59 return; 59 return;
60 } 60 }
61 61
62 select_file_dialog_->SelectFile(picker_type, 62 select_file_dialog_->SelectFile(picker_type,
63 select_title, 63 select_title,
64 last_directory, 64 last_directory,
65 &info, 65 &info,
66 file_type_index, 66 file_type_index,
67 FILE_PATH_LITERAL(std::string()), 67 base::FilePath::StringType(),
68 owning_window, 68 owning_window,
69 NULL); 69 NULL);
70 } 70 }
71 71
72 EntryPicker::~EntryPicker() {} 72 EntryPicker::~EntryPicker() {}
73 73
74 void EntryPicker::FileSelected(const base::FilePath& path, 74 void EntryPicker::FileSelected(const base::FilePath& path,
75 int index, 75 int index,
76 void* params) { 76 void* params) {
77 client_->FileSelected(path); 77 client_->FileSelected(path);
(...skipping 19 matching lines...) Expand all
97 } 97 }
98 98
99 // static 99 // static
100 void EntryPicker::StopSkippingPickerForTest() { 100 void EntryPicker::StopSkippingPickerForTest() {
101 g_skip_picker_for_test = false; 101 g_skip_picker_for_test = false;
102 } 102 }
103 103
104 } // namespace api 104 } // namespace api
105 105
106 } // namespace extensions 106 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/bookmarks/bookmarks_api.cc ('k') | chrome/browser/extensions/api/file_system/file_system_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698