| /external/chromium_org/sync/test/accounts_client/ |
| test_accounts_client_unittest.cc | 14 using std::string; 22 static const string kServer = "https://test-account-service"; 23 static const string kUsername = "foobar@baz.com"; 24 static const string kAccountSpace = "test_account_space"; 25 static const string kSessionId = "1234-ABCD"; 26 static const string kExpirationTime = "12:00"; 40 NoNetworkTestAccountsClient(const string& server, 41 const string& account_space, 42 vector<string> usernames) 44 MOCK_METHOD2(SendRequest, bool(const GURL&, string*)); [all...] |
| /external/chromium_org/sync/test/fake_server/ |
| permanent_entity.cc | 7 #include <string> 15 using std::string; 29 const string& server_tag, 30 const string& name, 31 const string& parent_server_tag) { 41 string id = FakeServerEntity::CreateId(model_type, server_tag); 42 string parent_id = FakeServerEntity::CreateId(model_type, parent_server_tag); 57 string server_tag = syncer::ModelTypeToRootTag(model_type); 58 string name = syncer::ModelTypeToString(model_type); 59 string id = FakeServerEntity::GetTopLevelId(model_type) [all...] |
| /external/clang/lib/Basic/ |
| Version.cpp | 27 std::string getClangRepositoryPath() { 57 std::string getLLVMRepositoryPath() { 74 std::string getClangRevision() { 82 std::string getLLVMRevision() { 90 std::string getClangFullRepositoryVersion() { 91 std::string buf; 93 std::string Path = getClangRepositoryPath(); 94 std::string Revision = getClangRevision(); 107 std::string LLVMRev = getLLVMRevision(); 110 std::string LLVMRepo = getLLVMRepositoryPath() [all...] |
| /external/oprofile/libutil++/ |
| op_bfd.h | 18 #include <string> 48 op_bfd_symbol(bfd_vma vma, size_t size, std::string const & name); 55 std::string const & name() const { return symb_name; } 80 std::string symb_name; 88 std::string symb_bytes; 108 op_bfd(std::string const & filename, 118 std::string const & filename, 123 std::string get_embedding_filename() const { return embedding_filename; } 140 std::string & filename, unsigned int & linenr) const; 180 std::string get_filename() const [all...] |
| /art/runtime/gc/space/ |
| image_space.h | 46 static ImageSpace* Create(const char* image, InstructionSet image_isa, std::string* error_msg) 59 std::string* error_msg); 78 const std::string GetImageFilename() const { 84 const std::string GetImageLocation() const { 116 std::string* system_location, 118 std::string* data_location, 132 bool validate_oat_file, std::string* error_msg) 135 OatFile* OpenOatFile(const char* image, std::string* error_msg) const 138 bool ValidateOatFile(std::string* error_msg) const 147 ImageSpace(const std::string& name, const char* image_location [all...] |
| /external/chromium_org/base/threading/ |
| simple_thread.h | 43 #include <string> 78 explicit SimpleThread(const std::string& name_prefix); 79 SimpleThread(const std::string& name_prefix, const Options& options); 90 std::string name_prefix() { return name_prefix_; } 93 std::string name() { return name_; } 114 const std::string name_prefix_; 115 std::string name_; 133 const std::string& name_prefix); 135 const std::string& name_prefix, 158 DelegateSimpleThreadPool(const std::string& name_prefix, int num_threads) [all...] |
| /external/chromium_org/chrome/browser/chromeos/input_method/ |
| mock_input_method_engine.cc | 15 const std::string& MockInputMethodEngine::GetActiveComponentId() const { 26 std::string* error) { 31 std::string* error) { 37 std::string* error) { 57 std::string* error) { 64 std::string* error) { 70 std::string* error) { 90 std::string* error) { 104 void MockInputMethodEngine::Enable(const std::string& component_id) { 112 void MockInputMethodEngine::PropertyActivate(const std::string& property_name) [all...] |
| /external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
| chrome_content_rules_registry.h | 10 #include <string> 75 const std::vector<std::string>& matching_css_selectors) OVERRIDE; 84 virtual std::string AddRulesImpl( 85 const std::string& extension_id, 87 virtual std::string RemoveRulesImpl( 88 const std::string& extension_id, 89 const std::vector<std::string>& rule_identifiers) OVERRIDE; 90 virtual std::string RemoveAllRulesImpl( 91 const std::string& extension_id) OVERRIDE; 106 const std::string& extension_id) const [all...] |
| /external/chromium_org/chrome/browser/extensions/ |
| extension_util.h | 8 #include <string> 33 bool IsIncognitoEnabled(const std::string& extension_id, 39 void SetIsIncognitoEnabled(const std::string& extension_id, 53 bool AllowFileAccess(const std::string& extension_id, 59 void SetAllowFileAccess(const std::string& extension_id, 68 bool AllowedScriptingOnAllUrls(const std::string& extension_id, 75 void SetAllowedScriptingOnAllUrls(const std::string& extension_id, 85 bool IsAppLaunchable(const std::string& extension_id, 89 bool IsAppLaunchableWithoutEnabling(const std::string& extension_id, 101 bool IsExtensionIdle(const std::string& extension_id [all...] |
| webstore_install_helper.h | 53 const std::string& id, 60 const std::string& id, 62 const std::string& error_message) = 0; 71 const std::string& id, 72 const std::string& manifest, 73 const std::string& icon_data, 96 void OnJSONParseFailed(const std::string& error_message); 102 std::string id_; 105 std::string manifest_; 108 // it's a base64-encoded string that needs to be parsed into an SkBitmap. I [all...] |
| /external/chromium_org/chrome/browser/metrics/ |
| signin_status_metrics_provider_unittest.cc | 7 #include <string> 72 metrics_provider.GoogleSigninSucceeded(std::string(), std::string(), 73 std::string()); 79 metrics_provider.GoogleSigninSucceeded(std::string(), std::string(), 80 std::string()); 90 metrics_provider.GoogleSignedOut(std::string(), std::string()); 96 metrics_provider.GoogleSignedOut(std::string(), std::string()) [all...] |
| /external/chromium_org/chrome/browser/signin/ |
| fake_signin_manager.cc | 50 const std::string& refresh_token, 51 const std::string& username, 52 const std::string& password, 63 set_auth_in_progress(std::string()); 71 void FakeSigninManager::SignIn(const std::string& username, 72 const std::string& password) { 74 std::string(), username, password, OAuthTokenFetchedCallback()); 86 set_auth_in_progress(std::string()); 87 set_password(std::string()); 88 const std::string account_id = GetAuthenticatedAccountId() [all...] |
| /external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
| metadata_database_index_interface.h | 8 #include <string> 22 std::string title; 25 ParentIDAndTitle(int64 parent_id, const std::string& title); 40 const std::string& file_id, FileMetadata* metadata) const = 0; 56 virtual void RemoveFileMetadata(const std::string& file_id) = 0; 63 const std::string& file_id) const = 0; 67 virtual int64 GetAppRootTracker(const std::string& app_id) const = 0; 72 const std::string& title) const = 0; 78 virtual std::string PickMultiTrackerFileID() const = 0; 110 virtual std::vector<std::string> GetRegisteredAppIDs() const = 0 [all...] |
| /external/chromium_org/chrome/browser/ui/autofill/ |
| autofill_dialog_models.h | 8 #include <string> 40 void AddKeyedItem(const std::string& key, 45 void AddKeyedItemWithIcon(const std::string& key, 51 void AddKeyedItemWithMinorText(const std::string& key, 58 const std::string& key, 67 std::string GetItemKeyAt(int index) const; 69 // Returns the ID key for the item at |checked_item_|, or an empty string if 71 std::string GetItemKeyForCheckedItem() const; 74 void SetCheckedItem(const std::string& item_key); 80 void SetEnabled(const std::string& item_key, bool enabled) [all...] |
| /external/chromium_org/chrome/renderer/net/ |
| net_error_helper.h | 8 #include <string> 73 std::string* error_html); 90 std::string* html) const OVERRIDE; 91 virtual void LoadErrorPageInMainFrame(const std::string& html, 98 const std::string& navigation_correction_request_body) OVERRIDE; 102 const std::string& tracking_request_body) OVERRIDE; 108 const std::string& language, 109 const std::string& country_code, 110 const std::string& api_key, 114 const std::string& data) [all...] |
| /external/chromium_org/cloud_print/gcp20/prototype/ |
| command_line_reader.cc | 17 std::string http_port_string = 46 std::string ReadServiceNamePrefix(const std::string& default_value) { 47 std::string service_name = 54 std::string ReadDomainName(const std::string& default_value) { 55 std::string domain_name = 62 std::string suffix = ".local"; 77 std::string ReadStatePath(const std::string& default_value) [all...] |
| /external/chromium_org/components/data_reduction_proxy/browser/ |
| data_reduction_proxy_tamper_detection_unittest.cc | 7 #include <string.h> 29 // Calcuates MD5 hash value for a string and then base64 encode it. Testcases 32 std::string GetEncoded(const std::string& input) { 35 std::string base64encoded; 36 base::Base64Encode(std::string((char*)digest.a, 44 void ReplaceWithEncodedString(std::string* input) { 48 if (start == std::string::npos) break; 52 if (end != std::string::npos && end < temp) 57 std::string need_to_encode = input->substr(start + 1, end - start - 1) [all...] |
| /external/chromium_org/components/invalidation/ |
| non_blocking_invalidator.h | 11 #include <string> 46 const std::string& invalidator_client_id, 48 const std::string& invalidation_bootstrap_data, 50 const std::string& client_info, 63 const std::string& email, const std::string& token) OVERRIDE; 79 virtual void ClearAndSetNewClientId(const std::string& data) OVERRIDE; 80 virtual std::string GetInvalidatorClientId() const OVERRIDE; 81 virtual void SetBootstrapData(const std::string& data) OVERRIDE; 82 virtual std::string GetBootstrapData() const OVERRIDE [all...] |
| /external/chromium_org/components/policy/core/common/ |
| schema.h | 8 #include <string> 83 static Schema Parse(const std::string& schema, std::string* error); 101 std::string* error_path, 102 std::string* error) const; 113 std::string* error_path, 114 std::string* error, 154 Schema GetKnownProperty(const std::string& key) const; 157 SchemaList GetPatternProperties(const std::string& key) const; 169 Schema GetProperty(const std::string& key) const [all...] |
| /external/chromium_org/components/translate/core/browser/ |
| translate_accept_languages.cc | 37 const std::string& language) { 38 std::string accept_language = language; 41 const std::string locale = 43 std::vector<std::string> accept_language_codes; 55 bool TranslateAcceptLanguages::IsAcceptLanguage(const std::string& language) { 56 std::string accept_language = language; 65 std::string accept_langs_str = prefs->GetString( 67 std::vector<std::string> accept_langs_list; 69 std::vector<std::string>::const_iterator iter; 75 std::string accept_lang(*iter) [all...] |
| /external/chromium_org/components/translate/core/common/ |
| translate_util.cc | 18 void SplitIntoMainAndTail(const std::string& language, 19 std::string* main_part, 20 std::string* tail_part) { 24 std::vector<std::string> chunks; 67 void ToTranslateLanguageSynonym(std::string* language) { 75 std::string main_part, tail_part; 83 main_part = std::string(kLanguageCodeSynonyms[i].translate_language); 91 void ToChromeLanguageSynonym(std::string* language) { 99 std::string main_part, tail_part; 107 main_part = std::string(kLanguageCodeSynonyms[i].chrome_language) [all...] |
| /external/chromium_org/content/renderer/p2p/ |
| port_allocator.h | 38 std::string username; 39 std::string password; 40 std::string server_address; 42 std::string transport_type; 63 const std::string& content_name, 65 const std::string& ice_username_fragment, 66 const std::string& ice_password) OVERRIDE; 83 const std::string& content_name, 85 const std::string& ice_username_fragment, 86 const std::string& ice_password) [all...] |
| /external/chromium_org/content/shell/common/ |
| shell_messages.h | 6 #include <string> 59 std::string /* dump */) 63 std::string /* actual pixel hash */, 81 std::string /* filesystem_id */) 84 std::string /* contents */) 86 std::string /* message */) 89 std::string /* settings */, 90 std::string /* frontend_url */) 97 std::string /* frame_name */) 119 std::string /* body */ [all...] |
| /external/chromium_org/extensions/browser/ |
| api_test_utils.h | 8 #include <string> 40 const std::string& args, 45 const std::string& args, 54 const std::string& args, 58 const std::string& args, 65 std::string RunFunctionAndReturnError(UIThreadExtensionFunction* function, 66 const std::string& args, 69 std::string RunFunctionAndReturnError(UIThreadExtensionFunction* function, 70 const std::string& args, 84 const std::string& args [all...] |
| /external/chromium_org/extensions/renderer/ |
| extension_helper.h | 37 const std::string& extension_id, 43 const std::string& extension_id); 66 const std::string& error); 67 void OnExtensionMessageInvoke(const std::string& extension_id, 68 const std::string& module_name, 69 const std::string& function_name, 74 const std::string& channel_name, 77 const std::string& tls_channel_id); 81 const std::string& error_message); 86 const std::string& message) [all...] |