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

Side by Side Diff: chrome/browser/policy/configuration_policy_pref_store.cc

Issue 6291003: Revert 71485 - Remove wstring from TemplateURL and friends.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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/policy/configuration_policy_pref_store.h" 5 #include "chrome/browser/policy/configuration_policy_pref_store.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 SearchTermsDataForValidation() {} 417 SearchTermsDataForValidation() {}
418 418
419 // Implementation of SearchTermsData. 419 // Implementation of SearchTermsData.
420 virtual std::string GoogleBaseURLValue() const { 420 virtual std::string GoogleBaseURLValue() const {
421 return "http://www.google.com/"; 421 return "http://www.google.com/";
422 } 422 }
423 virtual std::string GetApplicationLocale() const { 423 virtual std::string GetApplicationLocale() const {
424 return "en"; 424 return "en";
425 } 425 }
426 #if defined(OS_WIN) && defined(GOOGLE_CHROME_BUILD) 426 #if defined(OS_WIN) && defined(GOOGLE_CHROME_BUILD)
427 virtual string16 GetRlzParameterValue() const { 427 virtual std::wstring GetRlzParameterValue() const {
428 return string16(); 428 return std::wstring();
429 } 429 }
430 #endif 430 #endif
431 private: 431 private:
432 DISALLOW_COPY_AND_ASSIGN(SearchTermsDataForValidation); 432 DISALLOW_COPY_AND_ASSIGN(SearchTermsDataForValidation);
433 }; 433 };
434 434
435 } // namespace 435 } // namespace
436 436
437 void ConfigurationPolicyPrefKeeper::FinalizeDefaultSearchPolicySettings() { 437 void ConfigurationPolicyPrefKeeper::FinalizeDefaultSearchPolicySettings() {
438 bool enabled = true; 438 bool enabled = true;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 // Update the initialization flag. 870 // Update the initialization flag.
871 if (!initialization_complete_ && 871 if (!initialization_complete_ &&
872 provider_->IsInitializationComplete()) { 872 provider_->IsInitializationComplete()) {
873 initialization_complete_ = true; 873 initialization_complete_ = true;
874 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, 874 FOR_EACH_OBSERVER(PrefStore::Observer, observers_,
875 OnInitializationCompleted()); 875 OnInitializationCompleted());
876 } 876 }
877 } 877 }
878 878
879 } // namespace policy 879 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/search_engines/edit_search_engine_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698