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

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

Issue 6278007: Remove wstring from TemplateURL and friends.... (Closed) Base URL: svn://chrome-svn/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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 SearchTermsDataForValidation() {} 419 SearchTermsDataForValidation() {}
420 420
421 // Implementation of SearchTermsData. 421 // Implementation of SearchTermsData.
422 virtual std::string GoogleBaseURLValue() const { 422 virtual std::string GoogleBaseURLValue() const {
423 return "http://www.google.com/"; 423 return "http://www.google.com/";
424 } 424 }
425 virtual std::string GetApplicationLocale() const { 425 virtual std::string GetApplicationLocale() const {
426 return "en"; 426 return "en";
427 } 427 }
428 #if defined(OS_WIN) && defined(GOOGLE_CHROME_BUILD) 428 #if defined(OS_WIN) && defined(GOOGLE_CHROME_BUILD)
429 virtual std::wstring GetRlzParameterValue() const { 429 virtual string16 GetRlzParameterValue() const {
430 return std::wstring(); 430 return string16();
431 } 431 }
432 #endif 432 #endif
433 private: 433 private:
434 DISALLOW_COPY_AND_ASSIGN(SearchTermsDataForValidation); 434 DISALLOW_COPY_AND_ASSIGN(SearchTermsDataForValidation);
435 }; 435 };
436 436
437 } // namespace 437 } // namespace
438 438
439 void ConfigurationPolicyPrefKeeper::FinalizeDefaultSearchPolicySettings() { 439 void ConfigurationPolicyPrefKeeper::FinalizeDefaultSearchPolicySettings() {
440 bool enabled = true; 440 bool enabled = true;
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 // Update the initialization flag. 874 // Update the initialization flag.
875 if (!initialization_complete_ && 875 if (!initialization_complete_ &&
876 provider_->IsInitializationComplete()) { 876 provider_->IsInitializationComplete()) {
877 initialization_complete_ = true; 877 initialization_complete_ = true;
878 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, 878 FOR_EACH_OBSERVER(PrefStore::Observer, observers_,
879 OnInitializationCompleted()); 879 OnInitializationCompleted());
880 } 880 }
881 } 881 }
882 882
883 } // namespace policy 883 } // 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