summaryrefslogtreecommitdiff
path: root/indra/newview/llwebprofile.h
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-07-01 23:27:52 +0100
committerCho <cho@lindenlab.com>2013-07-01 23:27:52 +0100
commitfa1e0e486a2c32911e6bfe9d72264c3d9ebe1d9f (patch)
tree0203878b7e0b47faa4c9e6b8958dc84e65dd701b /indra/newview/llwebprofile.h
parent90b5bd51486e8a5cb5072974c331d1ed61b7e08b (diff)
Removed image URL callback from LLWebProfile for ACME-657
Diffstat (limited to 'indra/newview/llwebprofile.h')
-rwxr-xr-xindra/newview/llwebprofile.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llwebprofile.h b/indra/newview/llwebprofile.h
index 63dccf80af..10279bffac 100755
--- a/indra/newview/llwebprofile.h
+++ b/indra/newview/llwebprofile.h
@@ -48,9 +48,8 @@ class LLWebProfile
public:
typedef boost::function<void(bool ok)> status_callback_t;
- typedef boost::function<void(const std::string& image_url)> image_url_callback_t;
- static void uploadImage(LLPointer<LLImageFormatted> image, const std::string& caption, bool add_location, image_url_callback_t cb = image_url_callback_t());
+ static void uploadImage(LLPointer<LLImageFormatted> image, const std::string& caption, bool add_location);
static void setAuthCookie(const std::string& cookie);
static void setImageUploadResultCallback(status_callback_t cb) { mStatusCallback = cb; }
@@ -59,7 +58,7 @@ private:
friend class LLWebProfileResponders::PostImageResponder;
friend class LLWebProfileResponders::PostImageRedirectResponder;
- static void post(LLPointer<LLImageFormatted> image, const LLSD& config, const std::string& url, image_url_callback_t cb);
+ static void post(LLPointer<LLImageFormatted> image, const LLSD& config, const std::string& url);
static void reportImageUploadStatus(bool ok);
static std::string getAuthCookie();