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

Side by Side Diff: media/cdm/ppapi/cdm_file_io_impl.cc

Issue 1133363002: Getting rid of duplicate includes from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « media/cdm/ppapi/cdm_adapter.cc ('k') | media/cdm/ppapi/cdm_helpers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "media/cdm/ppapi/cdm_file_io_impl.h" 5 #include "media/cdm/ppapi/cdm_file_io_impl.h"
6 6
7 #include <algorithm>
8 #include <sstream> 7 #include <sstream>
9 8
10 #include "media/cdm/ppapi/cdm_logging.h" 9 #include "media/cdm/ppapi/cdm_logging.h"
11 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
12 #include "ppapi/cpp/dev/url_util_dev.h" 11 #include "ppapi/cpp/dev/url_util_dev.h"
13 12
14 namespace media { 13 namespace media {
15 14
16 // Arbitrary choice based on the following heuristic ideas: 15 // Arbitrary choice based on the following heuristic ideas:
17 // - not too big to avoid unnecessarily large memory allocation; 16 // - not too big to avoid unnecessarily large memory allocation;
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 case READ_WHILE_IN_USE: 537 case READ_WHILE_IN_USE:
539 client_->OnReadComplete(cdm::FileIOClient::kInUse, NULL, 0); 538 client_->OnReadComplete(cdm::FileIOClient::kInUse, NULL, 0);
540 break; 539 break;
541 case WRITE_WHILE_IN_USE: 540 case WRITE_WHILE_IN_USE:
542 client_->OnWriteComplete(cdm::FileIOClient::kInUse); 541 client_->OnWriteComplete(cdm::FileIOClient::kInUse);
543 break; 542 break;
544 } 543 }
545 } 544 }
546 545
547 } // namespace media 546 } // namespace media
OLDNEW
« no previous file with comments | « media/cdm/ppapi/cdm_adapter.cc ('k') | media/cdm/ppapi/cdm_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698