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

Side by Side Diff: chrome/browser/google_apis/operation_registry.cc

Issue 10913184: Move basic operation components for Drive API to chrome/browser/google_apis directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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 (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/chromeos/gdata/operation_registry.h" 5 #include "chrome/browser/google_apis/operation_registry.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.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 { 12 namespace {
13 13
14 const int64 kNotificationFrequencyInMilliseconds = 1000; 14 const int64 kNotificationFrequencyInMilliseconds = 1000;
15 15
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 return false; 339 return false;
340 } 340 }
341 341
342 void OperationRegistry::NotifyStatusToObservers() { 342 void OperationRegistry::NotifyStatusToObservers() {
343 ProgressStatusList list(GetProgressStatusList()); 343 ProgressStatusList list(GetProgressStatusList());
344 if (ShouldNotifyStatusNow(list)) 344 if (ShouldNotifyStatusNow(list))
345 FOR_EACH_OBSERVER(Observer, observer_list_, OnProgressUpdate(list)); 345 FOR_EACH_OBSERVER(Observer, observer_list_, OnProgressUpdate(list));
346 } 346 }
347 347
348 } // namespace gdata 348 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/operation_registry.h ('k') | chrome/browser/google_apis/operation_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698