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

Unified Diff: shell/application_manager/fetcher.h

Issue 1276073004: Offline By Default (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rename MoveIntoDir Created 5 years, 3 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
Index: shell/application_manager/fetcher.h
diff --git a/shell/application_manager/fetcher.h b/shell/application_manager/fetcher.h
index 0789387f9188915362136b10bf2977d58fa8b098..e1039f36d620442595c5927dda5dd23526892a6e 100644
--- a/shell/application_manager/fetcher.h
+++ b/shell/application_manager/fetcher.h
@@ -63,8 +63,8 @@ class Fetcher {
GURL* mojo_content_handler_url);
protected:
- static const char kMojoMagic[];
- static const size_t kMaxShebangLength;
+ static bool HasMojoMagic(const base::FilePath& path);
+ static bool PeekFirstLine(const base::FilePath& path, std::string* line);
FetchCallback loader_callback_;
};

Powered by Google App Engine
This is Rietveld 408576698