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

Side by Side Diff: chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader.cc

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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 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 "chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader. h" 5 #include "chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader. h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" 9 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
10 #include "chrome/common/chrome_utility_messages.h" 10 #include "chrome/common/chrome_utility_messages.h"
11 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
12 #include "content/public/browser/child_process_data.h" 12 #include "content/public/browser/child_process_data.h"
13 13
14 using chrome::MediaFileSystemBackend;
15 using content::BrowserThread; 14 using content::BrowserThread;
16 15
17 namespace picasa { 16 namespace picasa {
18 17
19 SafePicasaAlbumTableReader::SafePicasaAlbumTableReader( 18 SafePicasaAlbumTableReader::SafePicasaAlbumTableReader(
20 const AlbumTableFiles& album_table_files) 19 const AlbumTableFiles& album_table_files)
21 : album_table_files_(album_table_files), parser_state_(INITIAL_STATE) { 20 : album_table_files_(album_table_files), parser_state_(INITIAL_STATE) {
22 // TODO(tommycli): Add DCHECK to make sure |album_table_files| are all 21 // TODO(tommycli): Add DCHECK to make sure |album_table_files| are all
23 // opened read-only once security adds ability to check PlatformFiles. 22 // opened read-only once security adds ability to check PlatformFiles.
24 DCHECK(MediaFileSystemBackend::CurrentlyOnMediaTaskRunnerThread()); 23 DCHECK(MediaFileSystemBackend::CurrentlyOnMediaTaskRunnerThread());
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_ProcessStarted, 138 IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_ProcessStarted,
140 OnProcessStarted) 139 OnProcessStarted)
141 IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_ParsePicasaPMPDatabase_Finished, 140 IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_ParsePicasaPMPDatabase_Finished,
142 OnParsePicasaPMPDatabaseFinished) 141 OnParsePicasaPMPDatabaseFinished)
143 IPC_MESSAGE_UNHANDLED(handled = false) 142 IPC_MESSAGE_UNHANDLED(handled = false)
144 IPC_END_MESSAGE_MAP() 143 IPC_END_MESSAGE_MAP()
145 return handled; 144 return handled;
146 } 145 }
147 146
148 } // namespace picasa 147 } // namespace picasa
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698