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

Side by Side Diff: chrome/browser/chromeos/mobile_config.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/mobile_config.h" 5 #include "chrome/browser/chromeos/mobile_config.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/chromeos/login/wizard_controller.h" 16 #include "chrome/browser/chromeos/login/wizard_controller.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 18
19 using content::BrowserThread;
20
19 namespace { 21 namespace {
20 22
21 // Config attributes names. 23 // Config attributes names.
22 const char kVersionAttr[] = "version"; 24 const char kVersionAttr[] = "version";
23 const char kAcceptedConfigVersion[] = "1.0"; 25 const char kAcceptedConfigVersion[] = "1.0";
24 const char kDefaultAttr[] = "default"; 26 const char kDefaultAttr[] = "default";
25 27
26 // Carrier config attributes. 28 // Carrier config attributes.
27 const char kCarriersAttr[] = "carriers"; 29 const char kCarriersAttr[] = "carriers";
28 const char kCarrierIdsAttr[] = "ids"; 30 const char kCarrierIdsAttr[] = "ids";
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 } 333 }
332 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, 334 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
333 NewRunnableMethod( 335 NewRunnableMethod(
334 this, 336 this,
335 &MobileConfig::ProcessConfig, 337 &MobileConfig::ProcessConfig,
336 global_config, 338 global_config,
337 local_config)); 339 local_config));
338 } 340 }
339 341
340 } // namespace chromeos 342 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/media/media_player.cc ('k') | chrome/browser/chromeos/net/network_change_notifier_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698