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

Side by Side Diff: chrome/browser/chromeos/policy/device_status_collector.cc

Issue 12189011: Split up chrome/browser/policy subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 10 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/policy/device_status_collector.h" 5 #include "chrome/browser/chromeos/policy/device_status_collector.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/string_number_conversions.h" 14 #include "base/string_number_conversions.h"
15 #include "base/values.h" 15 #include "base/values.h"
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 location.SetDouble(kSpeed, position.speed); 460 location.SetDouble(kSpeed, position.speed);
461 location.SetString(kTimestamp, 461 location.SetString(kTimestamp,
462 base::Int64ToString(position.timestamp.ToInternalValue())); 462 base::Int64ToString(position.timestamp.ToInternalValue()));
463 local_state_->Set(prefs::kDeviceLocation, location); 463 local_state_->Set(prefs::kDeviceLocation, location);
464 } 464 }
465 465
466 ScheduleGeolocationUpdateRequest(); 466 ScheduleGeolocationUpdateRequest();
467 } 467 }
468 468
469 } // namespace policy 469 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698