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

Unified Diff: goopdate/update_response_utils.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « goopdate/update_request_utils_unittest.cc ('k') | goopdate/update_response_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: goopdate/update_response_utils.h
diff --git a/goopdate/update_response_utils.h b/goopdate/update_response_utils.h
deleted file mode 100644
index 18002ec4feef0a49c324d176dd25bcd6b3d26cc6..0000000000000000000000000000000000000000
--- a/goopdate/update_response_utils.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2010 Google Inc.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ========================================================================
-
-#ifndef OMAHA_GOOPDATE_UPDATE_RESPONSE_UTILS_H_
-#define OMAHA_GOOPDATE_UPDATE_RESPONSE_UTILS_H_
-
-#include <windows.h>
-#include <vector>
-#include "omaha/common/update_response.h"
-
-namespace omaha {
-
-class App;
-
-namespace update_response_utils {
-
-const xml::response::App* GetApp(const xml::response::Response& response,
- const CString& appid);
-
-// Retrieves the install_data string corresponding to the install_data_index
-// in the response data object. Returns an error if the status of the data
-// object is not ok or the index is not found.
-HRESULT GetInstallData(const std::vector<xml::response::Data>& data,
- const CString& index,
- CString* value);
-
-// Builds an App object from its corresponding representation in the
-// update response.
-HRESULT BuildApp(const xml::UpdateResponse* update_response,
- HRESULT code,
- App* app);
-
-// Returns the result of the update response for an app. The string member of
-// the result is formatted in the specified language.
-xml::UpdateResponseResult GetResult(const xml::UpdateResponse* update_response,
- const CString& appid,
- const CString& language);
-
-// Returns true if the update response contains an update for Omaha.
-bool IsOmahaUpdateAvailable(const xml::UpdateResponse* update_response);
-
-// Extracts a set of experiment label deltas from a response, merges them with
-// existing labels in the Registry, and writes the resulting set back.
-HRESULT ApplyExperimentLabelDeltas(bool is_machine,
- const xml::UpdateResponse* update_response);
-
-} // namespace update_response_utils
-
-} // namespace omaha
-
-#endif // OMAHA_GOOPDATE_UPDATE_RESPONSE_UTILS_H_
-
« no previous file with comments | « goopdate/update_request_utils_unittest.cc ('k') | goopdate/update_response_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698