| /external/chromium_org/components/translate/core/language_detection/ |
| language_detection_util.cc | 43 int GetSimilarLanguageGroupCode(const std::string& language) { 61 void ApplyLanguageCodeCorrection(std::string* code) { 66 *code = std::string(); 75 std::string group_name = base::FieldTrialList::FindFullName("CLD1VsCLD2"); 88 std::string DetermineTextLanguage(const base::string16& text, 90 std::string language = translate::kUnknownLanguageCode; 113 std::string utf8_text(base::UTF16ToUTF8(text)); 186 const std::string& page_language, const std::string& cld_language) { 198 std::string DeterminePageLanguage(const std::string& code [all...] |
| /external/chromium_org/net/spdy/ |
| spdy_headers_block_parser_test.cc | 7 #include <string> 19 using std::string; 50 string CreateHeaders(uint32_t num_headers, bool insert_nulls) { 51 string headers; 59 string key; 61 key = string(kBaseKey) + string("\0", 1) + IntToString(i); 63 key = string(kBaseKey) + IntToString(i); 70 string value; 72 value = string(kBaseValue) + string("\0", 1) + IntToString(i) [all...] |
| /external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
| env.h | 16 #include <string> 49 virtual Status NewSequentialFile(const std::string& fname, 59 virtual Status NewRandomAccessFile(const std::string& fname, 69 virtual Status NewWritableFile(const std::string& fname, 73 virtual bool FileExists(const std::string& fname) = 0; 78 virtual Status GetChildren(const std::string& dir, 79 std::vector<std::string>* result) = 0; 82 virtual Status DeleteFile(const std::string& fname) = 0; 85 virtual Status CreateDir(const std::string& dirname) = 0; 88 virtual Status DeleteDir(const std::string& dirname) = 0 [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
| connectivitychecker.h | 8 #include <string> 42 std::string brand; 43 std::string model; 118 const std::string& content_name, 120 const std::string& ice_ufrag, 121 const std::string& ice_pwd, 123 const std::vector<std::string>& relay_hosts, 124 const std::string& relay_token, 125 const std::string& user_agent) 138 sigslot::signal4<const std::string&, const std::string& [all...] |
| /external/chromium_org/third_party/webrtc/test/testsupport/ |
| fileutils.cc | 37 #include <string.h> 69 std::string OutputPathAndroid(); 70 std::string ProjectRootPathAndroid(); 72 void SetExecutablePath(const std::string& path) { 73 std::string working_dir = WorkingDir(); 74 std::string temp_path = path; 77 if (path.find(working_dir) != std::string::npos) { 93 bool FileExists(std::string& file_name) { 98 std::string OutputPathImpl() { 99 std::string path = ProjectRootPath() [all...] |
| /external/chromium_org/chrome/browser/chromeos/app_mode/ |
| kiosk_external_updater.h | 8 #include <string> 49 std::string app_name; 59 const std::string& device_path) OVERRIDE; 66 const std::string& device_path) OVERRIDE; 70 const std::string& app_id, 71 const std::string& version, 72 const std::string& min_browser_version, 75 const std::string& app_id) OVERRIDE; 99 bool ShouldDoExternalUpdate(const std::string& app_id, 100 const std::string& version [all...] |
| /external/chromium_org/chrome/browser/chromeos/drive/ |
| change_list_processor.h | 10 #include <string> 39 DirectoryFetchInfo(const std::string& local_id, 40 const std::string& resource_id, 51 const std::string& local_id() const { return local_id_; } 54 const std::string& resource_id() const { return resource_id_; } 60 // Returns a string representation of this object. 61 std::string ToString() const; 64 const std::string local_id_; 65 const std::string resource_id_; 79 const std::vector<std::string>& parent_resource_ids() const [all...] |
| /external/chromium_org/chrome/browser/chromeos/login/enrollment/ |
| enrollment_screen.h | 8 #include <string> 57 const std::string& management_domain, 58 const std::string& enrollment_user, 59 const std::string& auth_token, 67 virtual std::string GetName() const OVERRIDE; 72 const std::string& lang, 73 const std::string& timezone, 75 const std::string& keyboard_layout) OVERRIDE; 76 virtual void EnrollHost(const std::string& auth_token) OVERRIDE; 79 virtual void OnLoginDone(const std::string& user) OVERRIDE [all...] |
| /external/chromium_org/chrome/browser/chromeos/login/supervised/ |
| supervised_user_creation_screen.h | 8 #include <string> 73 const std::string& supervised_user_id) OVERRIDE {} 81 virtual std::string GetName() const OVERRIDE; 88 const std::string& supervised_user_password) OVERRIDE; 89 virtual void ImportSupervisedUser(const std::string& user_id) OVERRIDE; 91 const std::string& user_id, 92 const std::string& password) OVERRIDE; 94 const std::string& manager_id, 95 const std::string& manager_password) OVERRIDE; 99 std::string *out_id) const OVERRIDE [all...] |
| /external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
| content_action.h | 8 #include <string> 52 virtual void Apply(const std::string& extension_id, 55 virtual void Reapply(const std::string& extension_id, 58 virtual void Revert(const std::string& extension_id, 72 std::string* error, 76 static void ResetErrorData(std::string* error, bool* bad_message) { 83 std::string* error, 86 std::string* instance_type); 109 std::string* error, 116 std::string* error [all...] |
| /external/chromium_org/chrome/browser/extensions/api/messaging/ |
| native_message_process_host.h | 9 #include <string> 50 const std::string& message) = 0; 52 const std::string& error_message) = 0; 66 const std::string& native_host_name); 71 const std::string& source_extension_id, 72 const std::string& native_host_name, 79 const std::string& source_extension_id, 80 const std::string& native_host_name, 85 void Send(const std::string& json); 99 const std::string& source_extension_id [all...] |
| /external/chromium_org/chrome/browser/extensions/ |
| extension_keybinding_registry.h | 10 #include <string> 66 void ExecuteCommand(const std::string& extension_id, 78 const std::string& command_name) = 0; 83 const std::string& command_name); 88 const std::string& command_name) = 0; 95 bool ShouldIgnoreCommand(const std::string& command) const; 102 void CommandExecuted(const std::string& extension_id, 103 const std::string& command); 109 const std::string& extension_id, 110 const std::string& command_name) [all...] |
| fake_safe_browsing_database_manager.cc | 46 const std::string& a) { 53 const std::string& a, const std::string& b) { 60 const std::string& a, const std::string& b, const std::string& c) { 67 const std::string& a, const std::string& b, const std::string& c, 68 const std::string& d) [all...] |
| /external/chromium_org/chrome/browser/local_discovery/ |
| privet_url_fetcher.h | 8 #include <string> 39 typedef base::Callback<void(const std::string& /*token*/)> TokenCallback; 51 // If this returns the empty string, will not send an auth token. 52 virtual std::string GetAuthToken(); 64 const std::string& data_string, 79 static void SetTokenForHost(const std::string& host, 80 const std::string& token); 100 void SetUploadData(const std::string& upload_content_type, 101 const std::string& upload_data); 103 void SetUploadFilePath(const std::string& upload_content_type [all...] |
| /external/chromium_org/chrome/renderer/net/ |
| net_error_helper_core.h | 8 #include <string> 60 std::string* html) const = 0; 63 virtual void LoadErrorPageInMainFrame(const std::string& html, 80 const std::string& navigation_correction_request_body) = 0; 90 const std::string& tracking_request_body) = 0; 109 std::string language; 110 std::string country_code; 111 std::string api_key; 132 std::string* error_html); 145 // must be an empty string on error [all...] |
| /external/chromium_org/components/translate/content/renderer/ |
| translate_helper.h | 8 #include <string> 85 const std::string& extension_scheme); 100 const std::string& translate_script, 101 const std::string& source_lang, 102 const std::string& target_lang); 126 // Returns the language code on success, an empty string on failure. 127 virtual std::string GetOriginalPageLanguage(); 134 virtual void ExecuteScript(const std::string& script); 139 virtual bool ExecuteScriptAndGetBoolResult(const std::string& script, 143 // and returns the string returned by the script evaluation if the script wa [all...] |
| /external/chromium_org/content/browser/renderer_host/media/ |
| media_stream_ui_controller_unittest.cc | 5 #include <string> 30 const std::string&, const StreamDeviceInfoArray&)); 31 MOCK_METHOD1(SettingsError, void(const std::string&)); 32 MOCK_METHOD1(StopStreamFromUI, void(const std::string&)); 58 void CreateDummyRequest(const std::string& label, bool audio, bool video) { 69 std::string()); 82 const std::string label = "dummy_label"; 91 const std::string label = "label"; 101 const std::string label = "label"; 116 const std::string label_1 = "label_1" [all...] |
| /external/chromium_org/content/renderer/media/ |
| media_stream_constraints_util.cc | 16 // Convert a string ("true", "false") to a boolean. 17 bool ConvertStringToBoolean(const std::string& string, bool* value) { 21 *value = (string == kValueTrue); 22 return *value || (string == kValueFalse); 28 const std::string& name, 35 const std::string& name, 42 const std::string& name, 49 const std::string& name, 50 std::string* value) [all...] |
| /external/chromium_org/content/shell/renderer/test_runner/ |
| web_test_delegate.h | 8 #include <string> 44 virtual void SetEditCommand(const std::string& name, 45 const std::string& value) = 0; 75 virtual void PrintMessage(const std::string& message) = 0; 92 const std::string& path) = 0; 99 virtual blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) = 0; 126 virtual void ShowDevTools(const std::string& settings, 127 const std::string& frontend_url) = 0; 132 const std::string& script) = 0; 149 virtual void SetDeviceColorProfile(const std::string& name) = 0 [all...] |
| /external/chromium_org/extensions/browser/api/bluetooth_socket/ |
| bluetooth_api_socket.h | 8 #include <string> 36 typedef base::Callback<void(ErrorReason, const std::string& error_message)> 39 explicit BluetoothApiSocket(const std::string& owner_extension_id); 40 BluetoothApiSocket(const std::string& owner_extension_id, 42 const std::string& device_address, 50 const std::string& device_address, 88 const std::string& device_address() const { return device_address_; } 94 const std::string* name() const { return name_.get(); } 95 void set_name(const std::string& name) { name_.reset(new std::string(name)); [all...] |
| /external/chromium_org/google_apis/gaia/ |
| merge_session_helper.h | 40 virtual void MergeSessionCompleted(const std::string& account_id, 53 typedef std::map<GURL, std::pair<std::string, net::URLFetcher*> > 57 typedef std::map<std::string, std::string> ResultMap; 62 // Gets the current value of the external connection check result string. 63 std::string GetExternalCcResult(); 83 const std::string& data) OVERRIDE; 110 void LogIn(const std::string& account_id); 123 void LogOut(const std::string& account_id, 124 const std::vector<std::string>& accounts) [all...] |
| /external/chromium_org/google_apis/gcm/engine/ |
| gcm_store_impl.h | 52 virtual void AddRegistration(const std::string& app_id, 55 virtual void RemoveRegistration(const std::string& app_id, 59 virtual void AddIncomingMessage(const std::string& persistent_id, 61 virtual void RemoveIncomingMessage(const std::string& persistent_id, 67 virtual bool AddOutgoingMessage(const std::string& persistent_id, 70 virtual void OverwriteOutgoingMessage(const std::string& persistent_id, 74 virtual void RemoveOutgoingMessage(const std::string& persistent_id, 81 const std::set<std::string>& accounts, 86 const std::map<std::string, std::string>& settings [all...] |
| /external/chromium_org/net/ssl/ |
| default_channel_id_store.h | 9 #include <string> 35 typedef std::map<std::string, ChannelID*> ChannelIDMap; 48 const std::string& server_identifier, 50 std::string* private_key_result, 51 std::string* cert_result, 54 const std::string& server_identifier, 57 const std::string& private_key, 58 const std::string& cert) OVERRIDE; 60 const std::string& server_identifier, 109 const std::string& server_identifier [all...] |
| /external/chromium_org/net/tools/flip_server/ |
| mem_cache.h | 9 #include <string> 59 std::string body; 67 const std::string& filename, 68 const std::string& body); 74 const std::string& filename() { return filename_; } 75 const std::string& body() { return body_; } 79 std::string filename_; 80 std::string body_; 114 typedef std::map<std::string, FileData*> Files; 125 virtual void ReadToString(const char* filename, std::string* output) [all...] |
| /external/chromium_org/remoting/base/ |
| rsa_key_pair.cc | 8 #include <string> 40 const std::string& key_base64) { 41 std::string key_str; 58 std::string RsaKeyPair::ToString() const { 64 std::string key_str(key_buf.begin(), key_buf.end()); 65 std::string key_base64; 70 std::string RsaKeyPair::GetPublicKey() const { 73 std::string public_key_str(public_key.begin(), public_key.end()); 74 std::string public_key_base64; 79 std::string RsaKeyPair::SignMessage(const std::string& message) const [all...] |