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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/operations/unmount.cc

Issue 304533003: [fsp] Rename has_next to has_more. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chromeos/file_system_provider/operations/unmount.h" 5 #include "chrome/browser/chromeos/file_system_provider/operations/unmount.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/common/extensions/api/file_system_provider.h" 8 #include "chrome/common/extensions/api/file_system_provider.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 12 matching lines...) Expand all
23 bool Unmount::Execute(int request_id) { 23 bool Unmount::Execute(int request_id) {
24 scoped_ptr<base::ListValue> values(new base::ListValue); 24 scoped_ptr<base::ListValue> values(new base::ListValue);
25 return SendEvent( 25 return SendEvent(
26 request_id, 26 request_id,
27 extensions::api::file_system_provider::OnUnmountRequested::kEventName, 27 extensions::api::file_system_provider::OnUnmountRequested::kEventName,
28 values.Pass()); 28 values.Pass());
29 } 29 }
30 30
31 void Unmount::OnSuccess(int /* request_id */, 31 void Unmount::OnSuccess(int /* request_id */,
32 scoped_ptr<RequestValue> /* result */, 32 scoped_ptr<RequestValue> /* result */,
33 bool /* has_next */) { 33 bool /* has_more */) {
34 callback_.Run(base::File::FILE_OK); 34 callback_.Run(base::File::FILE_OK);
35 } 35 }
36 36
37 void Unmount::OnError(int /* request_id */, base::File::Error error) { 37 void Unmount::OnError(int /* request_id */, base::File::Error error) {
38 callback_.Run(error); 38 callback_.Run(error);
39 } 39 }
40 40
41 } // namespace operations 41 } // namespace operations
42 } // namespace file_system_provider 42 } // namespace file_system_provider
43 } // namespace chromeos 43 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698