/external/chromium_org/chrome/browser/chromeos/drive/ |
fake_file_system_unittest.cc | 121 FileError error = FILE_ERROR_FAILED; local 126 google_apis::test_util::CreateCopyResultCallback(&error, &entry)); 129 ASSERT_EQ(FILE_ERROR_OK, error); 135 FileError error = FILE_ERROR_FAILED; local 139 google_apis::test_util::CreateCopyResultCallback(&error, &entry)); 142 ASSERT_EQ(FILE_ERROR_OK, error); 150 FileError error = FILE_ERROR_FAILED; local 154 google_apis::test_util::CreateCopyResultCallback(&error, &entry)); 157 ASSERT_EQ(FILE_ERROR_NOT_FOUND, error);
|
test_util.cc | 135 FileError error = FILE_ERROR_OK; local 141 google_apis::test_util::CreateCopyResultCallback(&error)); 143 if (error != FILE_ERROR_OK) 148 FileError error = FILE_ERROR_OK; local 151 google_apis::test_util::CreateCopyResultCallback(&error)); 153 if (error != FILE_ERROR_OK) 158 FileError error = FILE_ERROR_OK; local 161 google_apis::test_util::CreateCopyResultCallback(&error)); 163 if (error != FILE_ERROR_OK)
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
create_directory_operation.cc | 35 // So, FILE_ERROR_EXISTS is not an error. 113 FileError error = metadata->GetResourceEntryById(resource_id, entry); local 114 DCHECK_EQ(FILE_ERROR_OK, error); 190 FileError error = GDataToFileError(gdata_error); local 191 if (error != FILE_ERROR_OK) { 192 callback.Run(error); 229 FileError error) { 233 if (error != FILE_ERROR_OK) { 234 callback.Run(error);
|
create_file_operation.cc | 41 FileError error = metadata->GetResourceEntryByPath(file_path, &entry); local 42 if (error == FILE_ERROR_OK) { 43 // Error if an exclusive mode is requested, or the entry is not a file. 52 if (error == FILE_ERROR_NOT_FOUND) { 53 // If parent path is not a directory, it is an error. 69 return error; 85 FileError error = FILE_ERROR_NOT_A_FILE; local 88 error = metadata->AddEntry(entry); 91 // already. So, FILE_ERROR_EXISTS is not an error. 92 if (error == FILE_ERROR_EXISTS 202 FileError error = GDataToFileError(gdata_error); local [all...] |
get_file_for_saving_operation_unittest.cc | 78 FileError error = FILE_ERROR_FAILED; local 84 &error, &local_path, &entry)); 88 EXPECT_EQ(FILE_ERROR_OK, error); 120 FileError error = FILE_ERROR_FAILED; local 126 &error, &local_path, &entry)); 130 EXPECT_EQ(FILE_ERROR_OK, error); 144 FileError error = FILE_ERROR_FAILED; local 150 &error, &local_path, &entry)); 153 // Checks that an error is returned. 154 EXPECT_EQ(FILE_ERROR_EXISTS, error); [all...] |
update_operation.cc | 40 FileError error = metadata->GetResourceEntryById(resource_id, local 42 if (error != FILE_ERROR_OK) 43 return error; 52 error = cache->GetFile(resource_id, &local_state->cache_file_path); 53 if (error != FILE_ERROR_OK) 54 return error; 79 FileError error = metadata->RefreshEntry(entry); 80 if (error != FILE_ERROR_OK) 81 return error; 142 FileError error) { [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/ |
echo_private_apitest.cc | 123 std::string error = utils::RunFunctionAndReturnError( local 128 EXPECT_EQ("Invalid origin.", error);
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
policy_oauth2_token_fetcher.cc | 79 const GoogleServiceAuthError& error) { 80 LOG(ERROR) << "OAuth2 tokens fetch for policy fetch failed!"; 81 RetryOnError(error, 96 const GoogleServiceAuthError& error) { 97 LOG(ERROR) << "OAuth2 access token (device management) fetching failed!"; 98 RetryOnError(error, 103 void PolicyOAuth2TokenFetcher::RetryOnError(const GoogleServiceAuthError& error, 106 if ((error.state() == GoogleServiceAuthError::CONNECTION_FAILED || 107 error.state() == GoogleServiceAuthError::SERVICE_UNAVAILABLE || 108 error.state() == GoogleServiceAuthError::REQUEST_CANCELED) & 122 ForwardPolicyToken(std::string(), error); local [all...] |
/external/chromium_org/chrome/browser/component_updater/ |
component_unpacker.cc | 37 extensions::CrxFile::Error error; 39 extensions::CrxFile::Parse(header, &error)); 98 std::string error; local 99 scoped_ptr<base::Value> root(serializer.Deserialize(NULL, &error)); 164 ComponentUnpacker::Error result = DifferentialUpdatePatch(unpack_diff_path,
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
initializing_rules_registry_unittest.cc | 25 std::string error; local 36 error = registry->AddRules(kExtensionId, add_rules); 37 EXPECT_TRUE(error.empty()); 40 error = registry->GetAllRules(kExtensionId, &get_rules); 41 EXPECT_TRUE(error.empty()); 61 error = registry->AddRules(kExtensionId, add_rules_2); 62 EXPECT_FALSE(error.empty()); 65 error = registry->GetAllRules(kExtensionId, &get_rules_2); 66 EXPECT_TRUE(error.empty()); 75 error = registry->RemoveRules(kExtensionId, remove_rules_3) 142 std::string error; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/ |
execute_code_function.cc | 59 std::string error; local 62 &error); 172 const std::string& error, 176 if (!error.empty()) 177 SetError(error); 179 SendResponse(error.empty());
|
/external/chromium_org/chrome/browser/extensions/ |
extension_disabled_ui_browsertest.cc | 59 // Caution: currently only supports one error at a time. 136 // Tests that no error appears if the user disabled the extension. 144 // Test that no error appears if the disable reason is unknown 159 // Test that an error appears if the disable reason is unknown 167 GlobalError* error = GetExtensionDisabledGlobalError(); local 168 ASSERT_TRUE(error); 169 // Also, remove the upgrade error for version 2. 171 RemoveGlobalError(error); 172 delete error; 181 // Test that an error appears if the extension gets disabled because [all...] |
webstore_inline_installer_unittest.cc | 27 std::string error; local 28 return CheckRequestorPermitted(webstore_data, &error); 35 void TestInstallerCallback(bool success, const std::string& error) {}
|
/external/chromium_org/chrome/browser/sync/glue/ |
history_model_worker.cc | 22 syncer::SyncerError* error) 23 : work_(work), done_(done), error_(error) {} 71 syncer::SyncerError* error) { 74 scoped_refptr<WorkerTask> task(new WorkerTask(work, done, error)); 77 *error = syncer::CANNOT_DO_WORK; 107 syncer::SyncerError error = syncer::UNSET; local 112 &error))) { 115 error = syncer::CANNOT_DO_WORK; 117 return error;
|
password_change_processor.cc | 105 LOG(ERROR) << "Invalid sync id."; 112 LOG(ERROR) << "Password node lookup failed."; 125 LOG(ERROR) << "Invalid sync id."; 132 LOG(ERROR) << "Password node lookup failed."; 146 // state, so it's not really an unrecoverable error. Just return. 237 syncer::SyncError error = model_associator_->WriteToPasswordStore( local 241 if (error.IsSet()) { 243 "Error writing passwords");
|
/external/chromium_org/chrome/browser/themes/ |
theme_service_unittest.cc | 37 std::string error; local 41 source, extensions::Extension::NO_FLAGS, &error); 43 EXPECT_EQ("", error);
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
kiosk_app_menu_handler.cc | 129 KioskAppLaunchError::Error error = KioskAppLaunchError::Get(); local 130 if (error == KioskAppLaunchError::NONE) 134 const std::string error_message = KioskAppLaunchError::GetErrorMessage(error);
|
/external/chromium_org/chrome/common/extensions/ |
sync_type_unittest.cc | 70 std::string error; local 72 extension_path, location, source, creation_flags, &error); 77 EXPECT_EQ(expected_error, error); 183 std::string error; local 188 base::FilePath(), Manifest::COMPONENT, manifest, 0, &error); 189 EXPECT_EQ(error, std::string()); 196 base::FilePath(), Manifest::COMPONENT, manifest, 0, &error); 197 EXPECT_EQ(error, std::string()); 204 base::FilePath(), Manifest::COMPONENT, manifest, 0, &error); 205 EXPECT_EQ(error, std::string()) [all...] |
/external/chromium_org/chrome/common/ |
spellcheck_common.cc | 160 UErrorCode error = U_ZERO_ERROR; local 162 uloc_addLikelySubtags(locale.c_str(), id, arraysize(id), &error); 163 error = U_ZERO_ERROR; 164 uloc_getLanguage(id, language, arraysize(language), &error);
|
/external/chromium_org/chrome/installer/gcapi/ |
gcapi_reactivation_test.cc | 117 return L"ERROR"; 133 DWORD error; local 138 &error)); 139 EXPECT_EQ(REACTIVATE_ERROR_NOTINSTALLED, error); 145 &error)); 153 &error)); 154 EXPECT_EQ(REACTIVATE_ERROR_NOTDORMANT, error); 163 &error)); 168 &error)); 169 EXPECT_EQ(REACTIVATE_ERROR_INVALID_INPUT, error); 186 DWORD error; local 222 DWORD error; local [all...] |
/external/chromium_org/chrome/renderer/extensions/ |
chrome_v8_context.cc | 136 const std::string& error) { 145 v8::String::New(error.c_str()) 152 // string if a validation error has occured. 155 std::string error = *v8::String::AsciiValue(retval); local 156 DCHECK(false) << error;
|
/external/chromium_org/chrome/test/chromedriver/net/ |
test_http_server.cc | 135 int error = server_->GetLocalAddress(&address); local 136 EXPECT_EQ(net::OK, error); 137 if (error == net::OK) {
|
/external/chromium_org/chrome/test/perf/ |
perf_ui_test_suite.cc | 139 std::string error; local 143 serializer.Deserialize(&error_code, &error))); 145 LOG(FATAL) << "Error parsing theme manifest: " << error; 152 &error); 154 LOG(FATAL) << "Error loading theme extension: " << error;
|
/external/chromium_org/content/public/test/ |
test_file_error_injector.h | 51 // ... wait for downloads to finish or get an injected error ... 62 // Structure that encapsulates the information needed to inject a file error. 67 DownloadInterruptReason error; // Error to inject. member in struct:content::TestFileErrorInjector::FileErrorInfo 79 // Adds an error. 81 // It is an error to call |AddError()| more than once for the same file 92 // Replaces the injected error list. 129 // Our injected error list, mapped by URL. One per file.
|
/external/chromium_org/extensions/common/matcher/ |
regex_set_matcher.cc | 44 LOG(ERROR) << "RegexSetMatcher was not initialized"; 83 RE2::ErrorCode error = filtered_re2_->Add( local 85 if (error == RE2::NoError) { 91 LOG(ERROR) << "Could not parse regex (id=" << it->first << ", "
|