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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.cc

Issue 10827343: Split out gdata_directory_service* (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 4 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
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h ('k') | chrome/chrome_browser.gypi » ('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 (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 "base/metrics/histogram.h" 5 #include "base/metrics/histogram.h"
6 #include "chrome/browser/chromeos/gdata/gdata_files.h" 6 #include "chrome/browser/chromeos/gdata/gdata_directory_service.h"
7 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h" 7 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h"
8 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
9 9
10 using content::BrowserThread; 10 using content::BrowserThread;
11 11
12 namespace gdata { 12 namespace gdata {
13 13
14 namespace { 14 namespace {
15 15
16 // Recursively extracts the paths set of all sub-directories of |entry|. 16 // Recursively extracts the paths set of all sub-directories of |entry|.
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // If the code above fails to parse a feed, any GDataEntry instance 321 // If the code above fails to parse a feed, any GDataEntry instance
322 // added to |file_by_url| is not managed by a GDataDirectory instance, 322 // added to |file_by_url| is not managed by a GDataDirectory instance,
323 // so we need to explicitly release them here. 323 // so we need to explicitly release them here.
324 STLDeleteValues(file_map); 324 STLDeleteValues(file_map);
325 } 325 }
326 326
327 return error; 327 return error;
328 } 328 }
329 329
330 } // namespace gdata 330 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698