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

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

Issue 9034032: And now NewRunnableMethod(), you die. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_frame_automation Created 8 years, 11 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) 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/customization_document.h" 5 #include "chrome/browser/chromeos/customization_document.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const char kServicesCustomizationAppliedPref[] = "ServicesCustomizationApplied"; 62 const char kServicesCustomizationAppliedPref[] = "ServicesCustomizationApplied";
63 63
64 // Maximum number of retries to fetch file if network is not available. 64 // Maximum number of retries to fetch file if network is not available.
65 const int kMaxFetchRetries = 3; 65 const int kMaxFetchRetries = 3;
66 66
67 // Delay between file fetch retries if network is not available. 67 // Delay between file fetch retries if network is not available.
68 const int kRetriesDelayInSec = 2; 68 const int kRetriesDelayInSec = 2;
69 69
70 } // anonymous namespace 70 } // anonymous namespace
71 71
72 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::ServicesCustomizationDocument);
73
74 namespace chromeos { 72 namespace chromeos {
75 73
76 // CustomizationDocument implementation. --------------------------------------- 74 // CustomizationDocument implementation. ---------------------------------------
77 75
78 CustomizationDocument::CustomizationDocument( 76 CustomizationDocument::CustomizationDocument(
79 const std::string& accepted_version) 77 const std::string& accepted_version)
80 : accepted_version_(accepted_version) {} 78 : accepted_version_(accepted_version) {}
81 79
82 CustomizationDocument::~CustomizationDocument() {} 80 CustomizationDocument::~CustomizationDocument() {}
83 81
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 locale, kAppContentAttr, kInitialStartPageAttr); 336 locale, kAppContentAttr, kInitialStartPageAttr);
339 } 337 }
340 338
341 std::string ServicesCustomizationDocument::GetSupportPage( 339 std::string ServicesCustomizationDocument::GetSupportPage(
342 const std::string& locale) const { 340 const std::string& locale) const {
343 return GetLocaleSpecificString( 341 return GetLocaleSpecificString(
344 locale, kAppContentAttr, kSupportPageAttr); 342 locale, kAppContentAttr, kSupportPageAttr);
345 } 343 }
346 344
347 } // namespace chromeos 345 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/input_method/input_method_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698